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 \
|
2021-07-01 21:32:49 +02:00
|
|
|
&& 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"]
|