feat: Add exif, zip, gd, intl and imagick
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lennard Brinkhaus 2022-09-11 01:24:45 +02:00
parent 25c0723a19
commit 92fef38800
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22

View File

@ -27,7 +27,9 @@ RUN apk add --no-cache \
tar \
xz \
# https://github.com/docker-library/php/issues/494
openssl
openssl \
imagemagick-dev \
libzip
# ensure www-data user exists
RUN set -eux; \
@ -198,12 +200,14 @@ RUN set -eux; \
php --version
COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-php-ext-enable
RUN chmod +x /usr/local/bin/docker-php-ext-install
RUN chmod +x /usr/local/bin/docker-php-ext-configure
RUN chmod +x /usr/local/bin/install-php-extensions
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
RUN install-php-extensions mysqli exif zip gd intl imagick && docker-php-ext-enable mysqli exif gd intl imagick zip
# sodium was built as a shared module (so that it can be replaced later if so desired), so let's enable it too (https://github.com/docker-library/php/issues/598)
RUN docker-php-ext-enable sodium