Skip to content

Commit

Permalink
[v82] upgrade php
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jan 22, 2024
1 parent 56cd1c7 commit 905b470
Show file tree
Hide file tree
Showing 75 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions libs/amazon-linux-2-v82/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ DIST_LIB_PATH=${DIST_PATH}/lib

DOCKER_IMAGE=libphp/amazon-linux-2-v82
DOCKER_CONTAINER=libphp-amazon-linux-2-v82
DOCKER_PLATFORM=linux/amd64

# ######################
# Building Docker images
# ######################

build:
docker build -t ${DOCKER_IMAGE} -f ./build/Dockerfile ./build
docker buildx build --platform ${DOCKER_PLATFORM} -t ${DOCKER_IMAGE} -f ./build/Dockerfile ./build

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

# Copy composer, php, php-cgi, php-fpm binaries
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/bin/composer > ${DIST_PHP_PATH}/composer
Expand Down Expand Up @@ -115,10 +116,10 @@ dist: build
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libexslt.so.0 > ${DIST_LIB_PATH}/libexslt.so.0
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libgcrypt.so.11 > ${DIST_LIB_PATH}/libgcrypt.so.11
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libgpg-error.so.0 > ${DIST_LIB_PATH}/libgpg-error.so.0
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicudata.so.71 > ${DIST_LIB_PATH}/libicudata.so.71
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicui18n.so.71 > ${DIST_LIB_PATH}/libicui18n.so.71
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuio.so.71 > ${DIST_LIB_PATH}/libicuio.so.71
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuuc.so.71 > ${DIST_LIB_PATH}/libicuuc.so.71
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicudata.so.73 > ${DIST_LIB_PATH}/libicudata.so.73
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicui18n.so.73 > ${DIST_LIB_PATH}/libicui18n.so.73
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuio.so.73 > ${DIST_LIB_PATH}/libicuio.so.73
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuuc.so.73 > ${DIST_LIB_PATH}/libicuuc.so.73
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libidn2.so.0 > ${DIST_LIB_PATH}/libidn2.so.0
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/liblber-2.4.so.2 > ${DIST_LIB_PATH}/liblber-2.4.so.2
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libldap-2.4.so.2 > ${DIST_LIB_PATH}/libldap-2.4.so.2
Expand Down Expand Up @@ -154,10 +155,8 @@ dist: build
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/liblz4.so.1 > ${DIST_LIB_PATH}/liblz4.so.1
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libsnappy.so.1 > ${DIST_LIB_PATH}/libsnappy.so.1
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libcares.so.2 > ${DIST_LIB_PATH}/libcares.so.2
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicuuc.so.71 > ${DIST_LIB_PATH}/libicuuc.so.71
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libnssutil3.so > ${DIST_LIB_PATH}/libnssutil3.so
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libzip.so.5 > ${DIST_LIB_PATH}/libzip.so.5
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libicudata.so.71 > ${DIST_LIB_PATH}/libicudata.so.71
docker exec ${DOCKER_CONTAINER} /bin/cat /usr/lib64/libGeoIP.so.1 > ${DIST_LIB_PATH}/libGeoIP.so.1

# Remove temporary PHP container
Expand Down
Binary file modified libs/amazon-linux-2-v82/native/lib/libX11.so.6
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libcares.so.2
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libcrypt.so.1
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libcurl.so.4
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libexpat.so.1
Binary file not shown.
Binary file not shown.
Binary file removed libs/amazon-linux-2-v82/native/lib/libicui18n.so.71
Binary file not shown.
Binary file removed libs/amazon-linux-2-v82/native/lib/libicuio.so.71
Binary file not shown.
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libidn2.so.0
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/liblber-2.4.so.2
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libldap-2.4.so.2
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libldap_r-2.4.so.2
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libncurses.so.5
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libnghttp2.so.14
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libnss3.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libnssutil3.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libonig.so.105
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libsmime3.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libssh2.so.1
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libssl3.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libtinfo.so.5
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libtinfo.so.6
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libxml2.so.2
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libzip.so.5
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/lib/libzstd.so.1
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/composer
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/apcu.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/bcmath.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/brotli.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/bz2.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/calendar.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/ctype.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/curl.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/dom.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/ds.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/exif.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/fileinfo.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/ftp.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/gettext.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/grpc.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/iconv.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/igbinary.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/imap.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/intl.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/mbstring.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/mongodb.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/msgpack.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/mysqli.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/mysqlnd.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/opcache.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/pdo.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/pdo_mysql.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/pdo_pgsql.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/pdo_sqlite.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/pgsql.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/phar.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/redis.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/simplexml.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/soap.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/sockets.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/sodium.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/sqlite3.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/swoole.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/tokenizer.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/xml.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/xmlreader.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/xmlwriter.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/xsl.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/modules/zip.so
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/php
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/php-cgi
Binary file not shown.
Binary file modified libs/amazon-linux-2-v82/native/php/php-fpm
Binary file not shown.
2 changes: 1 addition & 1 deletion libs/amazon-linux-2-v82/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libphp/amazon-linux-2-v82",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",
"main": "./dist/index.js",
"homepage": "https://github.com/juicyfx/libphp",
Expand Down

0 comments on commit 905b470

Please sign in to comment.