2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-01 02:27:26 +01:00

update errbot

This commit is contained in:
kev
2024-05-14 17:22:33 +08:00
parent 7d225a8f8e
commit 2c73b5e086
6 changed files with 30 additions and 88 deletions

View File

@@ -2,8 +2,8 @@
# Dockerfile for errbot
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
FROM alpine:3.19
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache ca-certificates \
@@ -16,26 +16,26 @@ RUN set -xe \
python3-dev \
&& pip3 install --no-cache-dir -U pip \
&& pip3 install --no-cache-dir errbot \
hypchat \
irc \
pyasn1 \
pyasn1-modules \
python-telegram-bot \
slackclient \
sleekxmpp \
&& adduser -s /bin/sh -D errbot \
hypchat \
irc \
pyasn1 \
pyasn1-modules \
python-telegram-bot \
slackclient \
sleekxmpp \
&& adduser -s /bin/sh -h /opt/errbot -D errbot \
&& apk del --purge build-base \
libffi-dev \
openssl-dev \
python3-dev
USER errbot
WORKDIR /home/errbot
WORKDIR /opt/errbot
RUN set -xe \
&& mkdir -p ~/.local/lib/python3.5/site-packages \
&& mkdir -p ~/.local/lib/python3.11/site-packages \
&& errbot --init
VOLUME /home/errbot
VOLUME /opt/errbot
ENTRYPOINT ["errbot"]