mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-22 16:22:11 -04:00
Merge pull request #733 from linuxserver/nextcloud-mediadc-pypi
install all py packages from pypi
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# MediaDC - Docker mod for nextcloud
|
||||
|
||||
This mod adds the required and optional packages the [MediaDC](https://apps.nextcloud.com/apps/mediadc) nextcloud app needs to work.
|
||||
This mod adds the required and optional packages the [MediaDC](https://apps.nextcloud.com/apps/mediadc) nextcloud app needs to work. Optional dependency Scipy is only installed on x86_64 as there are no wheels available for arm64v8.
|
||||
|
||||
In nextcloud docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:nextcloud-mediadc`
|
||||
|
||||
|
||||
@@ -5,31 +5,18 @@ if ! pip list 2> /dev/null | grep -q "pillow-heif" || ! pip list 2> /dev/null |
|
||||
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
|
||||
supervisor" >> /mod-repo-packages-to-install.list
|
||||
if [ $(arch) = "x86_64" ]; then
|
||||
echo "scipy" >> /mod-pip-packages-to-install.list
|
||||
fi
|
||||
echo "\
|
||||
pillow-heif \
|
||||
asn1crypto \
|
||||
cryptography \
|
||||
hexhamming \
|
||||
numpy \
|
||||
pillow \
|
||||
pillow-heif \
|
||||
pynacl \
|
||||
pywavelets" >> /mod-pip-packages-to-install.list
|
||||
else
|
||||
echo "**** pillow-heif, hexhamming and pywavelets already installed, skipping ****"
|
||||
|
||||
Reference in New Issue
Block a user