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

42 lines
1.1 KiB
Docker
Raw Normal View History

2017-01-22 14:23:42 +02:00
#
# Dockerfile for errbot-arm
#
2017-03-04 16:47:24 +02:00
FROM easypi/alpine-arm
2017-01-22 14:23:42 +02:00
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache ca-certificates \
build-base \
git \
libffi-dev \
2017-01-22 16:21:00 +02:00
openssl \
2017-01-22 14:23:42 +02:00
openssl-dev \
python3 \
python3-dev \
&& pip3 install --no-cache-dir -U pip \
&& pip3 install --no-cache-dir errbot \
2017-01-22 14:23:42 +02: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 18:43:23 +02:00
RUN set -xe \
&& mkdir -p ~/.local/lib/python3.5/site-packages \
&& errbot --init
2017-01-22 14:23:42 +02:00
VOLUME /home/errbot
ENTRYPOINT ["errbot"]