mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
33 lines
590 B
Plaintext
33 lines
590 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
echo "**** Installing required packages ****"
|
|
|
|
apk add --no-cache \
|
|
ffmpeg \
|
|
imagemagick \
|
|
supervisor \
|
|
py3-numpy \
|
|
py3-pillow \
|
|
py3-asn1crypto;
|
|
|
|
echo "**** Installing optional packages ****"
|
|
|
|
apk add --no-cache \
|
|
py3-cffi \
|
|
py3-scipy \
|
|
py3-pynacl \
|
|
py3-cryptography \
|
|
py3-pip;
|
|
|
|
|
|
python3 -m pip install -U pip
|
|
|
|
|
|
python3 -m pip install pillow_heif
|
|
|
|
pip install hexhamming
|
|
|
|
echo "**** Installing pywavelets if architecture is not ARM ****"
|
|
|
|
arch=$(arch | sed s/x86_64/amd64/) && \
|
|
python3 -m pip install pywavelets |