Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Jan 10, 2025
1 parent cff77e2 commit 7275617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ RUN sed -i "s/<shell>/$(use bash sh)/g" /bin/init_typecho \
--with-freetype${CONFIG} \
--with-jpeg${CONFIG} \
--with-webp${CONFIG} \
&& docker-php-ext-install -j "$(nproc)" gd \
&& CFLAGS="$CFLAGS ${PHP8_SOCKETS_WORKAROUND}" docker-php-ext-install -j "$(nproc)" \
sockets \
&& docker-php-ext-install -j "$(nproc)" ${PHP_EXTENSION} \
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ PUSH=""
CONFIG="-dir=/usr/include/"
BUILDX="build"
PHP8_SOCKETS_WORKAROUND=""
PHP_EXTENSION="bcmath exif zip mysqli pdo_mysql pdo_pgsql tokenizer opcache"
PHP_EXTENSION="gd bcmath exif zip mysqli pdo_mysql pdo_pgsql tokenizer opcache"

cat Dockerfile.base > Dockerfile

Expand Down Expand Up @@ -85,7 +85,7 @@ fi

# disable tokenzier extension for php 8.1
if [[ ${php} == "8.1" || ${php} == "8.2" ]]; then
PHP_EXTENSION="bcmath exif zip mysqli pdo_mysql pdo_pgsql opcache"
PHP_EXTENSION="gd bcmath exif zip mysqli pdo_mysql pdo_pgsql opcache"
fi

TAG="${LEFT}${MIDDLE}${RIGHT}"
Expand Down

0 comments on commit 7275617

Please sign in to comment.