part 3
Some checks failed
/ docker (push) Failing after 22s

This commit is contained in:
Lee 2023-07-08 00:43:41 +01:00
parent 2ce6d071b6
commit 34627788c6

@ -7,13 +7,10 @@ RUN apk update && \
rm -rf /var/cache/apk/*
# Install Imagick
RUN set -ex \
&& apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS imagemagick-dev libtool \
&& export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" \
&& pecl install imagick-3.4.3 \
&& docker-php-ext-enable imagick \
&& apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
&& apk del .phpize-deps
RUN apk add php82-pecl-imagick --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
RUN apk --update add imagemagick
RUN pecl install imagick
RUN docker-php-ext-enable imagick
# Set up nginx
COPY ./docker/nginx.conf /etc/nginx/nginx.conf