Added ImageMagick package

This commit is contained in:
tms 2023-09-25 18:11:24 +02:00
parent 731eae884c
commit e332d9e797
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ RUN apk --update add ca-certificates
# Install packages
RUN apk --no-cache add php82 php82-fpm php82-opcache php82-openssl php82-curl php82-pdo php82-pdo_mysql php82-session \
php82-mbstring php82-fileinfo php82-xml nginx supervisor curl unzip
php82-mbstring php82-fileinfo php82-xml nginx supervisor curl unzip imagemagick
# https://github.com/codecasts/php-alpine/issues/21
#RUN ln -s /usr/bin/php7 /usr/bin/php
@ -46,7 +46,7 @@ RUN unzip omeka-s-4.0.4.zip -d /var/www/html/ && rm omeka-s-4.0.4.zip
# Create docker user and group of id's 1000
RUN addgroup -S dockergroup -u 1000 && adduser -S dockeruser -u 1000 -G dockergroup
RUN addgroup -S dockergroup -g 1000 && adduser -S dockeruser -u 1000 -G dockergroup
RUN chown -R 1000:1000 /var/www/html && \
chown -R 1000:1000 /run && \
@ -59,7 +59,7 @@ RUN chown -R 1000:1000 /var/www/html && \
WORKDIR /var/www/html/omeka-s
# Switch to use a non-root user from here on
USER nobody
USER dockeruser
# Add application
# WORKDIR /var/www/html