File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
# ARG BASE_TAG=5.0.3-php8.2-alpine
2
2
ARG BASE_TAG=6.0-php8.3-alpine
3
3
# php8.2-alpine -> = 5.1 swoole = alpine 3.19 = php 8.2 rc 18 with psql bug
4
-
5
4
# https://hub.docker.com/r/phpswoole/swoole
6
5
FROM phpswoole/swoole:$BASE_TAG
6
+
7
7
WORKDIR /var/www/html
8
8
9
9
RUN set -ex \
@@ -18,19 +18,15 @@ RUN set -ex \
18
18
openssl \
19
19
postgresql \
20
20
postgresql-dev \
21
- jpeg-dev \
22
- libpng-dev \
23
- libwebp-dev \
24
- libjpeg-turbo \
25
21
libzip-dev \
26
- freetype-dev \
27
22
imagemagick-dev \
28
23
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 && \
31
27
apk del autoconf && \
32
28
rm -rf /var/cache/apk/* /tmp/pear /usr/src/*
33
-
29
+
34
30
# Configure nginx
35
31
COPY config/nginx.conf /etc/nginx/nginx.conf
36
32
You can’t perform that action at this time.
0 commit comments