mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 18:53:31 -04:00
switch to hybrid
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if ! pip list 2>&1 | grep -q "pillow_heif" || ! pip list 2>&1 | grep -q "hexhamming" || ! pip list 2>&1 | grep -q "pywavelets"; then
|
||||
echo "**** Adding pillow_heif, hexhamming, pywavelets and their deps to package install lists ****"
|
||||
echo "\
|
||||
ffmpeg \
|
||||
imagemagick \
|
||||
supervisor \
|
||||
py3-numpy \
|
||||
py3-pillow \
|
||||
py3-asn1crypto \
|
||||
py3-cffi \
|
||||
py3-scipy \
|
||||
py3-pynacl \
|
||||
py3-cryptography \
|
||||
py3-pip" >> /mod-repo-packages-to-install.list
|
||||
if [ $(arch) = "armv7l" ]; then
|
||||
echo "**** Installing build deps for pillow_heif on arm32v7, compiling pillow_heif may take a long time in the next step ****"
|
||||
echo "\
|
||||
python3-dev \
|
||||
libtool \
|
||||
git \
|
||||
gcc \
|
||||
m4 \
|
||||
perl \
|
||||
alpine-sdk \
|
||||
cmake \
|
||||
aom-dev" >> /mod-repo-packages-to-install.list
|
||||
fi
|
||||
echo "\
|
||||
pillow_heif \
|
||||
hexhamming \
|
||||
pywavelets" >> /mod-pip-packages-to-install.list
|
||||
else
|
||||
echo "**** pillow_heif, hexhamming and pywavelets already installed, skipping ****"
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-nextcloud-mediadc-add-package/run
|
||||
Reference in New Issue
Block a user