parent
2ce6d071b6
commit
34627788c6
11
Dockerfile
11
Dockerfile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user