1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

add errbot-arm

This commit is contained in:
kev 2017-01-22 20:23:42 +08:00
parent 602ed9113b
commit 1168e58d77
2 changed files with 43 additions and 0 deletions

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"]

@ -0,0 +1,6 @@
errbot:
image: easypi/errbot-arm
volumes:
- ./data:/home/errbot
tty: yes
restart: always