mirror of
https://github.com/maubot/maubot
synced 2025-08-28 20:30:38 +00:00
Update docker image
This commit is contained in:
parent
09a0efbf19
commit
49adb9b441
3 changed files with 10 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.18
|
||||
FROM alpine:3.20
|
||||
|
||||
RUN apk add --no-cache \
|
||||
python3 py3-pip py3-setuptools py3-wheel \
|
||||
|
@ -6,7 +6,6 @@ RUN apk add --no-cache \
|
|||
su-exec \
|
||||
yq \
|
||||
py3-aiohttp \
|
||||
py3-sqlalchemy \
|
||||
py3-attrs \
|
||||
py3-bcrypt \
|
||||
py3-cffi \
|
||||
|
@ -30,11 +29,10 @@ RUN apk add --no-cache \
|
|||
py3-unpaddedbase64 \
|
||||
py3-future \
|
||||
# plugin deps
|
||||
#py3-pillow \
|
||||
py3-pillow \
|
||||
py3-magic \
|
||||
py3-feedparser \
|
||||
py3-lxml \
|
||||
&& apk add --no-cache py3-pillow --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||
py3-lxml
|
||||
# py3-gitlab
|
||||
# py3-semver
|
||||
# TODO remove pillow, magic, feedparser, lxml, gitlab and semver when maubot supports installing dependencies
|
||||
|
@ -43,7 +41,7 @@ COPY requirements.txt /opt/maubot/requirements.txt
|
|||
COPY optional-requirements.txt /opt/maubot/optional-requirements.txt
|
||||
WORKDIR /opt/maubot
|
||||
RUN apk add --virtual .build-deps python3-dev build-base git \
|
||||
&& pip3 install -r requirements.txt -r optional-requirements.txt \
|
||||
&& pip3 install --break-system-packages -r requirements.txt -r optional-requirements.txt \
|
||||
dateparser langdetect python-gitlab pyquery semver tzlocal cssselect \
|
||||
&& apk del .build-deps
|
||||
# TODO also remove dateparser, langdetect and pyquery when maubot supports installing dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue