Skip to content

Commit 95cdda9

Browse files
committed
[v74] upgrade php
1 parent 410f9f8 commit 95cdda9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+10
-9
lines changed

libs/amazon-linux-2-v74/Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ DIST_LIB_PATH=${DIST_PATH}/lib
88

99
DOCKER_IMAGE=libphp/amazon-linux-2-v74
1010
DOCKER_CONTAINER=libphp-amazon-linux-2-v74
11+
DOCKER_PLATFORM=linux/amd64
1112

1213
# ######################
1314
# Building Docker images
1415
# ######################
1516

1617
build:
17-
docker build -t ${DOCKER_IMAGE} -f ./build/Dockerfile ./build
18+
docker buildx build --platform ${DOCKER_PLATFORM} -t ${DOCKER_IMAGE} -f ./build/Dockerfile ./build
1819

1920
# #################################################
2021
# Separate PHP bins + shared libs from Docker image
@@ -31,7 +32,7 @@ dist: build
3132
# Remove old PHP container
3233
docker rm --force ${DOCKER_CONTAINER} || true
3334
# Run new one PHP container
34-
docker run -it -d --name ${DOCKER_CONTAINER} ${DOCKER_IMAGE} /bin/bash
35+
docker run -it -d --platform ${DOCKER_PLATFORM} --name ${DOCKER_CONTAINER} ${DOCKER_IMAGE} /bin/bash
3536

3637
# Copy composer, php, php-cgi, php-fpm binaries
3738
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/bin/composer > ${DIST_PHP_PATH}/composer
@@ -113,10 +114,10 @@ dist: build
113114
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libexslt.so.0 > ${DIST_LIB_PATH}/libexslt.so.0
114115
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libgcrypt.so.11 > ${DIST_LIB_PATH}/libgcrypt.so.11
115116
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libgpg-error.so.0 > ${DIST_LIB_PATH}/libgpg-error.so.0
116-
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicudata.so.71 > ${DIST_LIB_PATH}/libicudata.so.71
117-
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicui18n.so.71 > ${DIST_LIB_PATH}/libicui18n.so.71
118-
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuio.so.71 > ${DIST_LIB_PATH}/libicuio.so.71
119-
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuuc.so.71 > ${DIST_LIB_PATH}/libicuuc.so.71
117+
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicudata.so.73 > ${DIST_LIB_PATH}/libicudata.so.73
118+
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicui18n.so.73 > ${DIST_LIB_PATH}/libicui18n.so.73
119+
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuio.so.73 > ${DIST_LIB_PATH}/libicuio.so.73
120+
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuuc.so.73 > ${DIST_LIB_PATH}/libicuuc.so.73
120121
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libidn2.so.0 > ${DIST_LIB_PATH}/libidn2.so.0
121122
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/liblber-2.4.so.2 > ${DIST_LIB_PATH}/liblber-2.4.so.2
122123
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libldap-2.4.so.2 > ${DIST_LIB_PATH}/libldap-2.4.so.2
-8 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
77.7 KB
Binary file not shown.
-32 Bytes
Binary file not shown.
-29 MB
Binary file not shown.
-3.21 MB
Binary file not shown.
-60.8 KB
Binary file not shown.
-2 MB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)