1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/errbot/Dockerfile

38 lines
995 B
Docker
Raw Normal View History

2017-01-21 14:57:35 +02:00
#
# Dockerfile for errbot
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
2017-01-21 15:18:33 +02:00
&& apk add --no-cache ca-certificates \
build-base \
2017-01-21 15:57:13 +02:00
git \
2017-01-21 14:57:35 +02:00
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"]