1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-05-27 22:47:38 +02:00
dockerfiles/errbot/Dockerfile

37 lines
935 B
Docker
Raw Normal View History

2017-01-21 20:57:35 +08:00
#
# Dockerfile for errbot
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
2017-01-21 21:18:33 +08:00
&& apk add --no-cache ca-certificates \
build-base \
2017-01-21 21:57:13 +08:00
git \
2017-01-21 20:57:35 +08:00
libffi-dev \
2017-01-22 22:21:00 +08:00
openssl \
2017-01-21 20:57:35 +08:00
openssl-dev \
python3 \
python3-dev \
&& pip3 install errbot \
hypchat \
irc \
pyasn1 \
pyasn1-modules \
python-telegram-bot \
slackclient \
sleekxmpp \
&& adduser -s /bin/sh -D errbot \
&& apk del --purge build-base \
libffi-dev \
openssl-dev \
python3-dev
USER errbot
WORKDIR /home/errbot
RUN errbot --init
VOLUME /home/errbot
ENTRYPOINT ["errbot"]