Skip to content

Commit f2bae25

Browse files
chore: update static build cli PHP version to 8.4 (#1425)
1 parent 3dd90a3 commit f2bae25

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

build-static.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ if [ "${os}" = "linux" ]; then
223223
cd mimalloc/
224224
fi
225225

226-
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1 || true)" || true)"
226+
# mimalloc version must be compatible with version used in tweag/rust-alpine-mimalloc
227+
git checkout v3.0.1
227228

228229
curl -fL --retry 5 https://raw.githubusercontent.com/tweag/rust-alpine-mimalloc/1a756444a5c1484d26af9cd39187752728416ba8/mimalloc.diff -o mimalloc.diff
229230
patch -p1 <mimalloc.diff

static-builder.Dockerfile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,25 @@ RUN apk update; \
5454
m4 \
5555
make \
5656
pkgconfig \
57-
php83 \
58-
php83-common \
59-
php83-ctype \
60-
php83-curl \
61-
php83-dom \
62-
php83-mbstring \
63-
php83-openssl \
64-
php83-pcntl \
65-
php83-phar \
66-
php83-posix \
67-
php83-session \
68-
php83-sodium \
69-
php83-tokenizer \
70-
php83-xml \
71-
php83-xmlwriter \
57+
php84 \
58+
php84-common \
59+
php84-ctype \
60+
php84-curl \
61+
php84-dom \
62+
php84-mbstring \
63+
php84-openssl \
64+
php84-pcntl \
65+
php84-phar \
66+
php84-posix \
67+
php84-session \
68+
php84-sodium \
69+
php84-tokenizer \
70+
php84-xml \
71+
php84-xmlwriter \
7272
upx \
7373
wget \
7474
xz ; \
75-
ln -sf /usr/bin/php83 /usr/bin/php && \
75+
ln -sf /usr/bin/php84 /usr/bin/php && \
7676
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
7777

7878
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser

0 commit comments

Comments
 (0)