File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 11# ARG BASE_TAG=5.0.3-php8.2-alpine
22ARG BASE_TAG=6.0-php8.3-alpine
33# php8.2-alpine -> = 5.1 swoole = alpine 3.19 = php 8.2 rc 18 with psql bug
4-
54# https://hub.docker.com/r/phpswoole/swoole
65FROM phpswoole/swoole:$BASE_TAG
6+
77WORKDIR /var/www/html
88
99RUN set -ex \
@@ -18,19 +18,15 @@ RUN set -ex \
1818 openssl \
1919 postgresql \
2020 postgresql-dev \
21- jpeg-dev \
22- libpng-dev \
23- libwebp-dev \
24- libjpeg-turbo \
2521 libzip-dev \
26- freetype-dev \
2722 imagemagick-dev \
2823 imagemagick && \
29- docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp && \
30- docker-php-ext-install gd ctype pdo pdo_pgsql pcntl exif zip intl && \
24+ pecl install imagick && \
25+ docker-php-ext-enable imagick && \
26+ docker-php-ext-install ctype pdo pdo_pgsql pcntl exif zip intl && \
3127 apk del autoconf && \
3228 rm -rf /var/cache/apk/* /tmp/pear /usr/src/*
33-
29+
3430# Configure nginx
3531COPY config/nginx.conf /etc/nginx/nginx.conf
3632
You can’t perform that action at this time.
0 commit comments