mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-21 01:27:01 +02:00
update errbot
This commit is contained in:
parent
36d0a2473b
commit
c4fd1ec713
@ -2,7 +2,7 @@
|
|||||||
# Dockerfile for errbot
|
# Dockerfile for errbot
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.20
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
@ -15,7 +15,7 @@ RUN set -xe \
|
|||||||
py3-pip \
|
py3-pip \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
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]' \
|
&& pip3 install --no-cache-dir 'errbot[slack,discord,mattermost,IRC,telegram,XMPP]' \
|
||||||
&& adduser -s /bin/sh -h /opt/errbot -D errbot \
|
&& adduser -s /bin/sh -h /opt/errbot -D errbot \
|
||||||
&& apk del --purge build-base \
|
&& apk del --purge build-base \
|
||||||
@ -27,7 +27,7 @@ USER errbot
|
|||||||
WORKDIR /opt/errbot
|
WORKDIR /opt/errbot
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& mkdir -p ~/.local/lib/python3.11/site-packages \
|
&& mkdir -p ~/.local/lib/python3.12/site-packages \
|
||||||
&& errbot --init
|
&& errbot --init
|
||||||
|
|
||||||
VOLUME /opt/errbot
|
VOLUME /opt/errbot
|
||||||
|
@ -4,7 +4,7 @@ services:
|
|||||||
image: vimagick/errbot
|
image: vimagick/errbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/opt/errbot
|
- ./data:/opt/errbot
|
||||||
- /usr/lib/python3.11/site-packages
|
- /usr/lib/python3.12/site-packages
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
tty: true
|
tty: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user