parent
2ce6d071b6
commit
34627788c6
11
Dockerfile
11
Dockerfile
@ -7,13 +7,10 @@ RUN apk update && \
|
|||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Install Imagick
|
# Install Imagick
|
||||||
RUN set -ex \
|
RUN apk add php82-pecl-imagick --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||||
&& apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS imagemagick-dev libtool \
|
RUN apk --update add imagemagick
|
||||||
&& export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" \
|
RUN pecl install imagick
|
||||||
&& pecl install imagick-3.4.3 \
|
RUN docker-php-ext-enable imagick
|
||||||
&& docker-php-ext-enable imagick \
|
|
||||||
&& apk add --no-cache --virtual .imagick-runtime-deps imagemagick \
|
|
||||||
&& apk del .phpize-deps
|
|
||||||
|
|
||||||
# Set up nginx
|
# Set up nginx
|
||||||
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user