File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,9 @@ RUN sed -i "s/<shell>/$(use bash sh)/g" /bin/init_typecho \
40
40
--with-freetype${CONFIG} \
41
41
--with-jpeg${CONFIG} \
42
42
--with-webp${CONFIG} \
43
- && docker-php-ext-install -j "$(nproc)" gd \
43
+ && docker-php-ext-install -j "$(nproc)" ${PHP_EXTENSION} \
44
44
&& CFLAGS="$CFLAGS ${PHP8_SOCKETS_WORKAROUND}" docker-php-ext-install -j "$(nproc)" \
45
45
sockets \
46
- && docker-php-ext-install -j "$(nproc)" ${PHP_EXTENSION} \
47
46
&& download ${URL} \
48
47
&& after "${savedAptMark}"
49
48
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ PUSH=""
53
53
CONFIG=" -dir=/usr/include/"
54
54
BUILDX=" build"
55
55
PHP8_SOCKETS_WORKAROUND=" "
56
- PHP_EXTENSION=" bcmath exif zip mysqli pdo_mysql pdo_pgsql tokenizer opcache"
56
+ PHP_EXTENSION=" gd bcmath exif zip mysqli pdo_mysql pdo_pgsql tokenizer opcache"
57
57
58
58
cat Dockerfile.base > Dockerfile
59
59
85
85
86
86
# disable tokenzier extension for php 8.1
87
87
if [[ ${php} == " 8.1" || ${php} == " 8.2" ]]; then
88
- PHP_EXTENSION=" bcmath exif zip mysqli pdo_mysql pdo_pgsql opcache"
88
+ PHP_EXTENSION=" gd bcmath exif zip mysqli pdo_mysql pdo_pgsql opcache"
89
89
fi
90
90
91
91
TAG=" ${LEFT}${MIDDLE}${RIGHT} "
You can’t perform that action at this time.
0 commit comments