1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-26 00:38:37 +00:00
dockerfiles/errbot/Dockerfile

38 lines
995 B
Docker
Raw Normal View History

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