Skip to content

Commit

Permalink
fix:8.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinywan committed Mar 3, 2024
1 parent 1267935 commit 6c7889d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ on:
- "**"
tags:
- "v*.*.*"
pull_request:
branches:
- "main"
# pull_request:
# branches:
# - "main"

env:
# Use docker.io for Docker Hub if empty
Expand Down
10 changes: 1 addition & 9 deletions extension/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,7 @@ fi

if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

if [[ "$?" = "1" ]]; then
# "--with-xxx-dir" was removed from php 7.4,
# issue: https://github.com/docker-library/php/issues/912
options="--with-freetype --with-jpeg --with-webp"
else
options="--with-gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/"
fi
options="--with-freetype --with-jpeg --with-webp"

apk add --no-cache \
freetype \
Expand Down

0 comments on commit 6c7889d

Please sign in to comment.