try imagemagick6

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-12-29 13:26:30 +01:00
parent 6f5b2cc94e
commit 7a6f350248
2 changed files with 4 additions and 1 deletions

View file

@ -47,7 +47,7 @@ RUN set -ex; \
ghostscript-dev \
tiff-dev \
zlib-dev \
imagemagick-dev \
imagemagick6-dev \
libheif-dev \
librsvg-dev \
libxext-dev \

View file

@ -43,6 +43,9 @@ if [ -n "$ADDITIONAL_APKS" ]; then
if ! [ -f "/additional-apks-are-installed" ]; then
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
if [ "$app" = "imagemagick" ]; then
app=imagemagick6
fi
echo "Installing $app via apk..."
if ! apk add --no-cache "$app" >/dev/null; then
echo "The packet $app was not installed!"