Added ImageMagick package
This commit is contained in:
parent
731eae884c
commit
e332d9e797
@ -12,7 +12,7 @@ RUN apk --update add ca-certificates
|
|||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN apk --no-cache add php82 php82-fpm php82-opcache php82-openssl php82-curl php82-pdo php82-pdo_mysql php82-session \
|
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
|
# https://github.com/codecasts/php-alpine/issues/21
|
||||||
#RUN ln -s /usr/bin/php7 /usr/bin/php
|
#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
|
# 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 && \
|
RUN chown -R 1000:1000 /var/www/html && \
|
||||||
chown -R 1000:1000 /run && \
|
chown -R 1000:1000 /run && \
|
||||||
@ -59,7 +59,7 @@ RUN chown -R 1000:1000 /var/www/html && \
|
|||||||
WORKDIR /var/www/html/omeka-s
|
WORKDIR /var/www/html/omeka-s
|
||||||
|
|
||||||
# Switch to use a non-root user from here on
|
# Switch to use a non-root user from here on
|
||||||
USER nobody
|
USER dockeruser
|
||||||
|
|
||||||
# Add application
|
# Add application
|
||||||
# WORKDIR /var/www/html
|
# WORKDIR /var/www/html
|
||||||
|
Loading…
Reference in New Issue
Block a user