mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -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
|
# 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`
|
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 "\
|
echo "\
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
supervisor \
|
supervisor" >> /mod-repo-packages-to-install.list
|
||||||
py3-numpy \
|
if [ $(arch) = "x86_64" ]; then
|
||||||
py3-pillow \
|
echo "scipy" >> /mod-pip-packages-to-install.list
|
||||||
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
|
fi
|
||||||
echo "\
|
echo "\
|
||||||
pillow-heif \
|
asn1crypto \
|
||||||
|
cryptography \
|
||||||
hexhamming \
|
hexhamming \
|
||||||
|
numpy \
|
||||||
|
pillow \
|
||||||
|
pillow-heif \
|
||||||
|
pynacl \
|
||||||
pywavelets" >> /mod-pip-packages-to-install.list
|
pywavelets" >> /mod-pip-packages-to-install.list
|
||||||
else
|
else
|
||||||
echo "**** pillow-heif, hexhamming and pywavelets already installed, skipping ****"
|
echo "**** pillow-heif, hexhamming and pywavelets already installed, skipping ****"
|
||||||
|
|||||||
Reference in New Issue
Block a user