Migrate to Alpine #5

Merged
Fascinated merged 21 commits from development into master 2023-07-07 23:54:10 +00:00
Showing only changes of commit 34627788c6 - Show all commits

View File

@ -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