Docker update (#1477)

* Docker Client: alpine 3.18, heif, mpv and qtpy now native packages

* Docker Server: alpine 3.18, native twisted package

* Docker Client: Add service_identity and dateparser
This commit is contained in:
Suika 2023-11-15 20:56:37 +01:00 committed by GitHub
parent 6e965be28b
commit 6ccc6f64ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.18
ARG UID
ARG GID
@ -7,11 +7,11 @@ HEALTHCHECK --interval=20s --timeout=10s --retries=3 --start-period=30s CMD ! su
ENTRYPOINT ["/bin/sh", "/opt/hydrus/static/build_files/docker/client/entrypoint.sh"]
LABEL git="https://github.com/hydrusnetwork/hydrus"
RUN apk --no-cache add fvwm x11vnc xvfb supervisor opencv mpv mpv-libs ffmpeg jq \
RUN apk --no-cache add fvwm x11vnc xvfb supervisor opencv mpv mpv-libs ffmpeg jq libheif \
openssl nodejs patch font-noto font-noto-emoji font-noto-cjk \
py3-pyside6 py3-beautifulsoup4 py3-pillow py3-numpy py3-openssl py3-cryptography py3-pip py3-opencv py3-lxml py3-chardet \
py3-psutil py3-pysocks py3-requests py3-twisted py3-yaml py3-lz4 py3-html5lib py3-dateutil
RUN pip install qtpy Send2Trash python-mpv cloudscraper pyparsing cbor2 Pympler
py3-psutil py3-pysocks py3-requests py3-twisted py3-yaml py3-lz4 py3-html5lib py3-dateutil py3-qtpy py3-mpv py3-service_identity
RUN pip install Send2Trash cloudscraper pyparsing cbor2 Pympler pillow-heif dateparser
RUN set -xe \
&& mkdir -p /opt/hydrus \

View File

@ -1,10 +1,10 @@
FROM alpine:3.16
FROM alpine:3.18
ARG UID
ARG GID
RUN apk --no-cache add py3-psutil py3-requests py3-twisted py3-yaml py3-lz4 ffmpeg py3-pillow py3-numpy py3-openssl py3-cryptography py3-service_identity py3-opencv py3-pip openssl su-exec
RUN pip install Send2Trash twisted
RUN apk --no-cache add py3-psutil py3-requests py3-twisted py3-yaml py3-lz4 ffmpeg py3-pillow py3-numpy py3-openssl py3-cryptography py3-service_identity py3-opencv py3-pip py3-twisted openssl su-exec
RUN pip install Send2Trash
RUN set -xe \
&& mkdir -p /opt/hydrus \