From c4fd1ec71373196152deda0c56ae5d204e134e64 Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 3 Dec 2024 14:33:21 +0800 Subject: [PATCH] update errbot --- errbot/Dockerfile | 6 +++--- errbot/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/errbot/Dockerfile b/errbot/Dockerfile index 726156e..d521a98 100644 --- a/errbot/Dockerfile +++ b/errbot/Dockerfile @@ -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 diff --git a/errbot/docker-compose.yml b/errbot/docker-compose.yml index d04e23c..9bae69a 100644 --- a/errbot/docker-compose.yml +++ b/errbot/docker-compose.yml @@ -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