mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-20 04:59:25 +02:00
add errbot-arm
This commit is contained in:
parent
602ed9113b
commit
1168e58d77
37
errbot/arm/Dockerfile
Normal file
37
errbot/arm/Dockerfile
Normal file
@ -0,0 +1,37 @@
|
||||
#
|
||||
# Dockerfile for errbot-arm
|
||||
#
|
||||
|
||||
FROM easypi/alpine-arm:edge
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache ca-certificates \
|
||||
build-base \
|
||||
git \
|
||||
libffi-dev \
|
||||
openssl-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
&& pip3 install errbot \
|
||||
hypchat \
|
||||
irc \
|
||||
pyasn1 \
|
||||
pyasn1-modules \
|
||||
python-telegram-bot \
|
||||
slackclient \
|
||||
sleekxmpp \
|
||||
&& adduser -s /bin/sh -D errbot \
|
||||
&& cd /home/errbot \
|
||||
&& wget http://errbot.io/en/latest/_downloads/config-template.py \
|
||||
&& apk del --purge build-base \
|
||||
libffi-dev \
|
||||
openssl-dev \
|
||||
python3-dev
|
||||
|
||||
USER errbot
|
||||
WORKDIR /home/errbot
|
||||
RUN errbot --init
|
||||
VOLUME /home/errbot
|
||||
|
||||
ENTRYPOINT ["errbot"]
|
6
errbot/arm/docker-compose.yml
Normal file
6
errbot/arm/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
errbot:
|
||||
image: easypi/errbot-arm
|
||||
volumes:
|
||||
- ./data:/home/errbot
|
||||
tty: yes
|
||||
restart: always
|
Loading…
x
Reference in New Issue
Block a user