1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/errbot/Dockerfile

42 lines
1.2 KiB
Docker
Raw Normal View History

2017-01-21 14:57:35 +02:00
#
# Dockerfile for errbot
#
2024-05-14 11:22:33 +02:00
FROM alpine:3.19
MAINTAINER EasyPi Software Foundation
2017-01-21 14:57:35 +02:00
RUN set -xe \
2017-01-21 15:18:33 +02:00
&& apk add --no-cache ca-certificates \
build-base \
2017-01-21 15:57:13 +02:00
git \
2017-01-21 14:57:35 +02:00
libffi-dev \
2017-01-22 16:21:00 +02:00
openssl \
2017-01-21 14:57:35 +02:00
openssl-dev \
python3 \
python3-dev \
&& pip3 install --no-cache-dir -U pip \
&& pip3 install --no-cache-dir errbot \
2024-05-14 11:22:33 +02:00
hypchat \
irc \
pyasn1 \
pyasn1-modules \
python-telegram-bot \
slackclient \
sleekxmpp \
&& adduser -s /bin/sh -h /opt/errbot -D errbot \
2017-01-21 14:57:35 +02:00
&& apk del --purge build-base \
libffi-dev \
openssl-dev \
python3-dev
USER errbot
2024-05-14 11:22:33 +02:00
WORKDIR /opt/errbot
2017-01-22 18:43:23 +02:00
RUN set -xe \
2024-05-14 11:22:33 +02:00
&& mkdir -p ~/.local/lib/python3.11/site-packages \
2017-01-22 18:43:23 +02:00
&& errbot --init
2024-05-14 11:22:33 +02:00
VOLUME /opt/errbot
2017-01-21 14:57:35 +02:00
ENTRYPOINT ["errbot"]