1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update errbot

This commit is contained in:
kev 2024-12-03 14:33:21 +08:00
parent 36d0a2473b
commit c4fd1ec713
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Dockerfile for errbot
#
FROM alpine:3.19
FROM alpine:3.20
MAINTAINER EasyPi Software Foundation
RUN set -xe \
@ -15,7 +15,7 @@ RUN set -xe \
py3-pip \
python3 \
python3-dev \
&& rm -f /usr/lib/python3.11/EXTERNALLY-MANAGED \
&& pip3 config set global.break-system-packages true \
&& pip3 install --no-cache-dir 'errbot[slack,discord,mattermost,IRC,telegram,XMPP]' \
&& adduser -s /bin/sh -h /opt/errbot -D errbot \
&& apk del --purge build-base \
@ -27,7 +27,7 @@ USER errbot
WORKDIR /opt/errbot
RUN set -xe \
&& mkdir -p ~/.local/lib/python3.11/site-packages \
&& mkdir -p ~/.local/lib/python3.12/site-packages \
&& errbot --init
VOLUME /opt/errbot

View File

@ -4,7 +4,7 @@ services:
image: vimagick/errbot
volumes:
- ./data:/opt/errbot
- /usr/lib/python3.11/site-packages
- /usr/lib/python3.12/site-packages
stop_signal: SIGINT
tty: true
restart: unless-stopped