1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/errbot/Dockerfile

42 lines
1.0 KiB
Docker
Raw Normal View History

2017-01-21 12:57:35 +00:00
#
# Dockerfile for errbot
#
FROM alpine
2017-05-07 23:05:07 +00:00
MAINTAINER kev <noreply@easypi.pro>
2017-01-21 12:57:35 +00:00
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 \
2017-01-22 14:21:00 +00:00
openssl \
2017-01-21 12:57:35 +00:00
openssl-dev \
python3 \
python3-dev \
&& pip3 install --no-cache-dir -U pip \
&& pip3 install --no-cache-dir errbot \
2017-01-21 12:57:35 +00:00
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
2017-01-22 16:43:23 +00:00
RUN set -xe \
&& mkdir -p ~/.local/lib/python3.5/site-packages \
&& errbot --init
2017-01-21 12:57:35 +00:00
VOLUME /home/errbot
ENTRYPOINT ["errbot"]