diff --git a/.github/workflows/epicmorg.base.images.debian.12.yml b/.github/workflows/epicmorg.base.images.debian.12.yml index e69bbd6cb..cc13109ea 100644 --- a/.github/workflows/epicmorg.base.images.debian.12.yml +++ b/.github/workflows/epicmorg.base.images.debian.12.yml @@ -216,55 +216,58 @@ jobs: - name: "Build and Deploy Debian 12 dotNet 9 Image:" run: cd linux/ecosystem/epicmorg/debian/12-bookworm/dotnet/dotnet9 && pwd && make build && make deploy -# ################################################################################## -# -# # - name: "Build and Deploy Debian 12 PHP Latest Image:" -# # run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/latest && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 7.0 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 7.1 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 7.2 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 7.3 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3 && pwd && make build && make deploy -# -# ################################################################################## -# -# - name: Cleanup -# run: make docker-clean -# -# ################################################################################## -# -# - name: "Build and Deploy Debian 12 PHP 7.4 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 8.0 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 8.1 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1 && pwd && make build && make deploy -# -# ################################################################################## -# -# - name: Cleanup -# run: make docker-clean -# -# ################################################################################## -# -# - name: "Build and Deploy Debian 12 PHP 8.2 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2 && pwd && make build && make deploy -# -# - name: "Build and Deploy Debian 12 PHP 8.3 Image:" -# run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3 && pwd && make build && make deploy -# -# ################################################################################## -# -# - name: Cleanup -# run: make docker-clean -# -# ################################################################################## +################################################################################## + + - name: "Build and Deploy Debian 12 PHP 5.6 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 7.0 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 7.1 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 7.2 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 7.3 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 12 PHP 7.4 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 8.0 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 8.1 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## + + - name: "Build and Deploy Debian 12 PHP 8.2 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 8.3 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3 && pwd && make build && make deploy + + - name: "Build and Deploy Debian 12 PHP 8.4 Image:" + run: cd linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4 && pwd && make build && make deploy + +################################################################################## + + - name: Cleanup + run: make docker-clean + +################################################################################## \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b38cf402..55b7e5633 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ * fixed old and added new versions of `Jira` * fixed old and added new versions of `Bitbucket` * updated `TeamCity Server` images + * temprary backported legacy `php` images and converted to new `baseline`: + * full migration to static `php` images planned at `2025y`. + * updated `nodejs` current and lts images. * Added **DONATION** and **WELCOME** messages to EpicMorg base images: * To disable Welcome message switch `EMG_WELCOME_MESSAGE` to `false` * To disable Donation message switch `EMG_DONATION_MESSAGE` to `false` diff --git a/Makefile b/Makefile index 615e86e60..2f9e1919f 100644 --- a/Makefile +++ b/Makefile @@ -794,17 +794,19 @@ ecosystem-debian-sid-nodejs-images: #################################################################################################################### -#ecosystem-php-images: +ecosystem-php-images: # echo "disabled temprorary" -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2 && pwd && make build && make deploy -# cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3 && pwd && make build && make deploy + cd `pwd`/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4 && pwd && make build && make deploy ecosystem-apache2-images: cd `pwd`/linux/ecosystem/apache2/php7.0 && pwd && make build && make deploy @@ -2319,12 +2321,12 @@ bundle-bitbucket: @echo "=======================================" @echo "===== Building All Bitbucket images =====" @echo "=======================================" -# make ecosystem-bitbucket-1-images -# make ecosystem-bitbucket-2-images -# make ecosystem-bitbucket-3-images -# make ecosystem-bitbucket-4-images -# make ecosystem-bitbucket-5-images -# make ecosystem-bitbucket-6-images + make ecosystem-bitbucket-1-images + make ecosystem-bitbucket-2-images + make ecosystem-bitbucket-3-images + make ecosystem-bitbucket-4-images + make ecosystem-bitbucket-5-images + make ecosystem-bitbucket-6-images make ecosystem-bitbucket-7-images make ecosystem-bitbucket-8-images make ecosystem-bitbucket-9-images diff --git a/linux/ecosystem/apache2/php5.5/Dockerfile b/linux/ecosystem/apache2/php5.5/Dockerfile index 6da99bfd0..1b462c3c7 100644 --- a/linux/ecosystem/apache2/php5.5/Dockerfile +++ b/linux/ecosystem/apache2/php5.5/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/php:php5.5 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=5.5 -ARG PHP_MODULE_PATH=/usr/local/lib/php/extensions/no-debug-non-zts-20121212 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=5.5 +ENV PHP_MODULE_PATH=/usr/local/lib/php/extensions/no-debug-non-zts-20121212 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php7.0/Dockerfile b/linux/ecosystem/apache2/php7.0/Dockerfile index 3485694d6..6b214f6a6 100644 --- a/linux/ecosystem/apache2/php7.0/Dockerfile +++ b/linux/ecosystem/apache2/php7.0/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/php:php7.0 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=7.0 -ARG PHP_MODULE_PATH=/usr/lib/php/20151012 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=7.0 +ENV PHP_MODULE_PATH=/usr/lib/php/20151012 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini @@ -14,7 +14,6 @@ ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini #installing apache2 repo RUN wget -O /etc/apt/trusted.gpg.d/apache2.gpg https://vault.center/mirror/apt/packages.sury.org/apache2/apt.gpg RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/apache2/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/apache2.list' -RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' ################################################################## # gh official binary diff --git a/linux/ecosystem/apache2/php7.1/Dockerfile b/linux/ecosystem/apache2/php7.1/Dockerfile index 4439565e9..c79f51cca 100644 --- a/linux/ecosystem/apache2/php7.1/Dockerfile +++ b/linux/ecosystem/apache2/php7.1/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/php:php7.1 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=7.1 -ARG PHP_MODULE_PATH=/usr/lib/php/20160303 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=7.1 +ENV PHP_MODULE_PATH=/usr/lib/php/20160303 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php7.2/Dockerfile b/linux/ecosystem/apache2/php7.2/Dockerfile index c0896ec15..208ef360e 100644 --- a/linux/ecosystem/apache2/php7.2/Dockerfile +++ b/linux/ecosystem/apache2/php7.2/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/php:php7.2 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_PATH=/usr/lib/php/20170718 -ARG PHP_VER=7.2 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20170718 +ENV PHP_VER=7.2 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php7.3/Dockerfile b/linux/ecosystem/apache2/php7.3/Dockerfile index 2fc78b3d6..014e0cefe 100644 --- a/linux/ecosystem/apache2/php7.3/Dockerfile +++ b/linux/ecosystem/apache2/php7.3/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/php:php7.3 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_PATH=/usr/lib/php/20180731 -ARG PHP_VER=7.3 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20180731 +ENV PHP_VER=7.3 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php7.4/Dockerfile b/linux/ecosystem/apache2/php7.4/Dockerfile index 262d2d0f6..04d16cb38 100644 --- a/linux/ecosystem/apache2/php7.4/Dockerfile +++ b/linux/ecosystem/apache2/php7.4/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/php:php7.4 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php8.0/Dockerfile b/linux/ecosystem/apache2/php8.0/Dockerfile index 9d5287613..44fca7f80 100644 --- a/linux/ecosystem/apache2/php8.0/Dockerfile +++ b/linux/ecosystem/apache2/php8.0/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/php:php8.0 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_VER=20200930 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_VER=8.0 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_VER=20200930 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_VER=8.0 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php8.1/Dockerfile b/linux/ecosystem/apache2/php8.1/Dockerfile index 6e366d4e8..fda0c2d91 100644 --- a/linux/ecosystem/apache2/php8.1/Dockerfile +++ b/linux/ecosystem/apache2/php8.1/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/php:php8.1 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_VER=20210902 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_VER=8.1 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_VER=20210902 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_VER=8.1 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php8.2/Dockerfile b/linux/ecosystem/apache2/php8.2/Dockerfile index 5335e54aa..be757f4a4 100644 --- a/linux/ecosystem/apache2/php8.2/Dockerfile +++ b/linux/ecosystem/apache2/php8.2/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/php:php8.2 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_VER=20220829 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_VER=8.2 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_VER=20220829 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_VER=8.2 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/apache2/php8.3/Dockerfile b/linux/ecosystem/apache2/php8.3/Dockerfile index 2ff897dc5..df8561a53 100644 --- a/linux/ecosystem/apache2/php8.3/Dockerfile +++ b/linux/ecosystem/apache2/php8.3/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/php:php8.3 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_VER=20220830 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_VER=8.3 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_VER=20220830 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_VER=8.3 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile index d6e7209cf..d7c587155 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile @@ -3,13 +3,13 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_MAJOR_VERSION=23 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 22.x +# Node.js 23.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop index c2c922a97..209deeb0e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/current/Dockerfile.develop @@ -3,13 +3,13 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_MAJOR_VERSION=23 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.3.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 22.x +# Node.js 23.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile index cfbfe16d7..4c722b5f1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile @@ -3,13 +3,13 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -42,3 +42,5 @@ apt-get autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop index e631a5e83..e814181ad 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.develop @@ -3,13 +3,13 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -42,3 +42,5 @@ apt-get autoclean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php70 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php70 index 6407841b9..bd5cf4eb8 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php70 @@ -2,13 +2,13 @@ FROM epicmorg/php:php7.0 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -40,3 +40,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php71 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php71 index bbee9e178..24c7f27e6 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php71 @@ -2,13 +2,13 @@ FROM epicmorg/php:php7.1 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -40,3 +40,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php72 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php72 index 90a5f0268..a0ebfbd8f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php72 @@ -2,13 +2,13 @@ FROM epicmorg/php:php7.2 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -40,3 +40,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php73 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php73 index 7d6ef5ea6..a76cea6ca 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php73 @@ -2,13 +2,13 @@ FROM epicmorg/php:php7.3 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -40,3 +40,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php74 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php74 index d6daca6ec..bf1f4e417 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php74 @@ -2,13 +2,13 @@ FROM epicmorg/php:php7.4 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node @@ -40,3 +40,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php80 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php80 index c97827c8f..96d5bef69 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php80 @@ -2,13 +2,13 @@ FROM epicmorg/php:php8.0 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php81 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php81 index 3cbdf11f6..79dd3c6ff 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php81 @@ -2,13 +2,13 @@ FROM epicmorg/php:php8.2 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php82 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php82 index 3cbdf11f6..79dd3c6ff 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php82 @@ -2,13 +2,13 @@ FROM epicmorg/php:php8.2 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php83 similarity index 93% rename from linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs rename to linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php83 index b9d29d6c5..2d98c0c23 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile.nodejs +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/Dockerfile.php83 @@ -2,13 +2,13 @@ FROM epicmorg/php:php8.3 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG K_NODE_MAJOR_VERSION=20 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.16.0 +ARG K_NODE_MAJOR_VERSION=22 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz ################################################################## -# Node.js 20.x +# Node.js 22.x ################################################################## RUN groupadd -g 1337 node && \ useradd -u 1337 --gid node --shell /bin/bash --create-home node diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml index ef06ef263..9740fe58d 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/lts/docker-compose.yml @@ -9,3 +9,48 @@ services: build: context: . dockerfile: ./Dockerfile.develop + app-nodejs-php70: + image: "epicmorg/php:php7.0-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php70 + app-nodejs-php71: + image: "epicmorg/php:php7.1-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php71 + app-nodejs-php72: + image: "epicmorg/php:php7.2-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php72 + app-nodejs-php73: + image: "epicmorg/php:php7.3-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php73 + app-nodejs-php74: + image: "epicmorg/php:php7.4-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php74 + app-nodejs-php80: + image: "epicmorg/php:php8.0-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php80 + app-nodejs-php81: + image: "epicmorg/php:php8.1-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php81 + app-nodejs-php82: + image: "epicmorg/php:php8.2-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php82 + app-nodejs-php83: + image: "epicmorg/php:php8.3-nodejs" + build: + context: . + dockerfile: ./Dockerfile.php83 diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile index d6e7209cf..051d7af03 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop index c2c922a97..af65ff3d7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/nodejs/node22/Dockerfile.develop @@ -4,7 +4,7 @@ LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive ARG K_NODE_MAJOR_VERSION=22 -ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.6.0 +ARG K_NODE_VERSION=${K_NODE_MAJOR_VERSION}.12.0 ARG K_NODE_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-linux-x64.tar.gz ARG K_NODE_HEADERS_URL=https://nodejs.org/dist/v${K_NODE_VERSION}/node-v${K_NODE_VERSION}-headers.tar.gz diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/Dockerfile index 55298a28f..263f55abd 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.5/Dockerfile @@ -2,9 +2,9 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=5.5 -ARG PHP_MODULE_PATH=/usr/local/lib/php/extensions/no-debug-non-zts-20121212 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=5.5 +ENV PHP_MODULE_PATH=/usr/local/lib/php/extensions/no-debug-non-zts-20121212 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/Dockerfile new file mode 100644 index 000000000..ae8a16bb5 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/Dockerfile @@ -0,0 +1,262 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ENV PHP_VER=5.6 +ENV PHP_MODULE_PATH=/usr/lib/php/20131226 +ENV PHP_DIR=/etc/php/${PHP_VER} +ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini +ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini + +#Install base packages +RUN apt-get update && \ + apt-get install -y --allow-unauthenticated \ + libmagickwand-dev \ + libmemcached-dev \ + imagemagick \ + libncurses5 \ + autoconf + +################################################################## +# Installing PHP5.5 +################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' + +RUN apt-get update && \ + apt-get install -y --allow-unauthenticated \ + libmemcached-dev \ + libgmp-dev \ +# php-pear \ + php5.6 \ + php5.6-cli \ + php5.6-common \ + php5.6-dev \ + php5.6-amqp \ + php5.6-apcu \ + php5.6-bcmath \ + php5.6-bz2 \ + php5.6-cgi \ + php5.6-curl \ + php5.6-dba \ + php5.6-dio \ + php5.6-enchant \ + php5.6-fpm \ + php5.6-gd \ + php5.6-gearman \ + php5.6-geoip \ +# php5.6-gmagick \ + php5.6-gmp \ + php5.6-gnupg \ + php5.6-grpc \ + php5.6-http \ + php5.6-igbinary \ + php5.6-imagick \ + php5.6-imap \ + php5.6-inotify \ + php5.6-interbase \ + php5.6-intl \ + php5.6-json \ + php5.6-ldap \ + php5.6-libvirt-php \ + php5.6-lua \ + php5.6-lz4 \ + php5.6-mailparse \ + php5.6-mbstring \ + php5.6-mcrypt \ + php5.6-memcache \ + php5.6-memcached \ + php5.6-mongo \ + php5.6-mongodb \ + php5.6-msgpack \ + php5.6-mysql \ + php5.6-mysqlnd-ms \ + php5.6-oauth \ + php5.6-odbc \ + php5.6-opcache \ + php5.6-pgsql \ + php5.6-phpdbg \ + php5.6-propro \ + php5.6-protobuf \ + php5.6-ps \ + php5.6-pspell \ + php5.6-radius \ + php5.6-raphf \ + php5.6-readline \ + php5.6-recode \ + php5.6-redis \ + php5.6-rrd \ + php5.6-smbclient \ + php5.6-snmp \ + php5.6-soap \ + php5.6-solr \ + php5.6-sqlite3 \ + php5.6-ssh2 \ + php5.6-stomp \ + php5.6-sybase \ + php5.6-tidy \ + php5.6-uploadprogress \ +# php5.6-xcache \ + php5.6-xdebug \ + php5.6-xhprof \ + php5.6-xml \ + php5.6-xmlrpc \ + php5.6-xsl \ +# php5.6-yac \ + php5.6-yaml \ + php5.6-zip \ + php5.6-zmq \ + smbclient libsmbclient \ + sendmail && \ + ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ + update-alternatives --set php /usr/bin/php5.6 && \ +# pear clear-cache && \ + pear update-channels && \ +# pear upgrade && \ + pecl channel-update pecl.php.net + +RUN echo "=============================================" && \ + echo php -m $(php -m) && \ + echo php -v $(php -v) && \ + echo pear version $(pear version) && \ + echo pear list $(pear list) && \ + echo "=============================================" + +################################################################## +# Enabling extensions +################################################################## +RUN phpenmod \ + calendar \ + ldap \ + curl \ + exif \ + ftp \ + fileinfo \ + gd \ + geoip \ + iconv \ + imap \ + json \ + mbstring \ + mysqli \ + mysqlnd \ + oauth \ + pdo_mysql \ + pdo_sqlite \ + phar \ + posix \ + readline \ + redis \ + simplexml \ + sockets \ + sqlite3 \ + ssh2 \ + tokenizer \ + xml \ + xmlreader \ + xmlrpc \ + xmlwriter \ + xsl \ + yaml && \ + php -m && \ + php -v + +################################################################## +# Enabling extensions +################################################################## +#RUN pear update-channels && \ +# pecl channel-update pecl.php.net && \ +# pear upgrade + +############################################################################## +# Cassandra CPP Support Install +############################################################################## +#OPY addons/multiarch-support_2.28_amd64.deb /tmp/cassandra-php-driver/multiarch-support_2.28_amd64.deb +#RUN wget -c --random-wait --user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" --directory-prefix=/tmp/cassandra-php-driver \ +# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1_1.35.0-1_amd64.deb \ +# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dev_1.35.0-1_amd64.deb \ +# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dbg_1.35.0-1_amd64.deb \ +# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb \ +# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dev_2.16.0-1_amd64.deb \ +# https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver_2.16.0-1_amd64.deb + +#RUN cd /tmp/cassandra-php-driver && \ +# dpkg -i ./multiarch-support_2.28_amd64.deb && \ +# dpkg -i ./libuv1_1.35.0-1_amd64.deb && \ +# dpkg -i ./libuv1-dev_1.35.0-1_amd64.deb && \ +# dpkg -i ./libuv1-dbg_1.35.0-1_amd64.deb && \ +# dpkg -i ./cassandra-cpp-driver_2.16.0-1_amd64.deb && \ +# dpkg -i ./cassandra-cpp-driver-dev_2.16.0-1_amd64.deb && \ +# dpkg -i ./cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb + +############################################################################## +# Cassandra PHP Drivers Install +############################################################################## +#RUN pecl install cassandra && \ +# echo "extension = ${PHP_MODULE_PATH}/cassandra.so" > /usr/local/etc/php/conf.d/cassandra.ini && \ +# php -m && \ +# php -v + +################################################################## +# Installing timezonedb addon +################################################################## +RUN pecl install timezonedb && \ +# echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/apache2/php.ini && \ + echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/cgi/php.ini && \ + echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/cli/php.ini && \ + echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/fpm/php.ini && \ + php -m && \ + php -v + +################################################################## +# Installing imagic addon +################################################################## +#RUN pecl install imagick && \ +## echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ +# php -m && \ +# php -v + +################################################################## +# Installing IOnCube addon +################################################################## +ADD https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz /tmp/ioncube.tar.gz +RUN tar -C /tmp -xvf /tmp/ioncube.tar.gz && \ + cp /tmp/ioncube/ioncube_loader_lin_5.6.so ${PHP_MODULE_PATH} && \ + # echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_7.0.so" >> ${PHP_DIR}/apache2/php.ini && \ + echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_5.6.so" >> ${PHP_DIR}/cgi/php.ini && \ + echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_5.6.so" >> ${PHP_DIR}/cli/php.ini && \ + echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_5.6.so" >> ${PHP_DIR}/fpm/php.ini && \ + php -m && \ + php -v + +################################################################## +# Installing P4 addon +################################################################## +#COPY --from=builder /builds/export/perforce.so ${PHP_MODULE_PATH} +#RUN echo "extension= ${PHP_MODULE_PATH}/perforce.so" > ${P4_PHP_INI} && \ +## ln -sf ${P4_PHP_INI} ${PHP_DIR}/apache2/conf.d/perforce.ini && \ +# ln -sf ${P4_PHP_INI} ${PHP_DIR}/cgi/conf.d/perforce.ini && \ +# ln -sf ${P4_PHP_INI} ${PHP_DIR}/cli/conf.d/perforce.ini && \ +# ln -sf ${P4_PHP_INI} ${PHP_DIR}/fpm/conf.d/perforce.ini && \ +# php -m && \ +# php -v + +################################################################## +# Installing Composer addon +################################################################## +RUN cd /tmp && \ + php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \ + php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \ + rm /tmp/composer-setup.php + +################################################################## +# cleaninig up +################################################################## +RUN apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /tmp/* diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/addons/multiarch-support_2.28_amd64.deb b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/addons/multiarch-support_2.28_amd64.deb new file mode 100644 index 000000000..7cf23ffa8 Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/addons/multiarch-support_2.28_amd64.deb differ diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml new file mode 100644 index 000000000..0e3c2d42e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php5.6/docker-compose.yml @@ -0,0 +1,6 @@ +#version: '3' +services: + app: + image: "epicmorg/php:php5.6" + build: + context: . diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile index 14a74dca5..c91e4472a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/Dockerfile @@ -30,6 +30,9 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P ################################################################## # Installing PHP7 ################################################################## +#installing PHP repo +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' #Install base packages RUN apt-get update && \ @@ -44,9 +47,10 @@ RUN apt-get update && \ php7.0-xml \ php7.0-cgi && \ update-alternatives --set php /usr/bin/php7.0 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -91,17 +95,18 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=7.0 -ARG PHP_MODULE_PATH=/usr/lib/php/20151012 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=7.0 +ENV PHP_MODULE_PATH=/usr/lib/php/20151012 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP7 ################################################################## - && \ - sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://ftp.mpi-inf.mpg.de/mirrors/linux/mirror/deb.sury.org/repositories/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' +#installing PHP repo +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -109,50 +114,99 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php7.0 \ - php7.0-common \ - php7.0-dev \ - php7.0-ldap \ -# php7.0-mail \ -# php7.0-mailparse \ - php7.0-soap \ - php7.0-mysql \ - php7.0-curl \ - php7.0-gd \ - php7.0-intl \ - php7.0-zip \ - php7.0-bcmath \ - php7.0-fpm \ - php7.0-imap \ - php7.0-pspell \ - php7.0-recode \ - php7.0-sqlite3 \ - php7.0-pgsql \ - php7.0-tidy \ - php7.0-xmlrpc \ - php7.0-xml \ - php7.0-mbstring \ - php7.0-gettext \ - php7.0-apcu \ php7.0-cli \ php7.0-common \ + php7.0-dev \ + php7.0-amqp \ + php7.0-apcu-bc \ + php7.0-apcu \ + php7.0-bcmath \ + php7.0-bz2 \ php7.0-cgi \ - php7.0-json \ - php7.0-readline \ + php7.0-curl \ + php7.0-dba \ + php7.0-decimal \ + php7.0-dio \ + php7.0-ds \ php7.0-enchant \ - php7.0-ssh2 \ - php7.0-oauth \ - php7.0-gmagick \ - php7.0-redis \ - php7.0-smbclient \ - php7.0-yaml \ + php7.0-fpm \ + php7.0-gd \ + php7.0-gearman \ php7.0-geoip \ +# php7.0-gmagick \ + php7.0-gmp \ + php7.0-gnupg \ + php7.0-grpc \ + php7.0-http \ + php7.0-igbinary \ + php7.0-imagick \ + php7.0-imap \ + php7.0-inotify \ + php7.0-interbase \ + php7.0-intl \ + php7.0-json \ + php7.0-ldap \ + php7.0-libvirt-php \ + php7.0-lua \ + php7.0-lz4 \ + php7.0-mailparse \ + php7.0-mbstring \ + php7.0-mcrypt \ + php7.0-memcache \ + php7.0-memcached \ + php7.0-mongodb \ + php7.0-msgpack \ + php7.0-mysql \ + php7.0-oauth \ + php7.0-odbc \ + php7.0-opcache \ + php7.0-pgsql \ + php7.0-phpdbg \ + php7.0-pinba \ + php7.0-pq \ + php7.0-propro \ + php7.0-protobuf \ + php7.0-ps \ + php7.0-pspell \ + php7.0-radius \ + php7.0-raphf \ + php7.0-rdkafka \ + php7.0-readline \ + php7.0-recode \ + php7.0-redis \ + php7.0-rrd \ + php7.0-smbclient \ + php7.0-snmp \ + php7.0-soap \ + php7.0-sodium \ + php7.0-solr \ + php7.0-sqlite3 \ + php7.0-ssh2 \ + php7.0-stomp \ + php7.0-sybase \ + php7.0-tideways \ + php7.0-tidy \ + php7.0-uploadprogress \ + php7.0-uuid \ + php7.0-vips \ + php7.0-xdebug \ + php7.0-xhprof \ + php7.0-xml \ + php7.0-xmlrpc \ + php7.0-xsl \ +# php7.0-yac \ + php7.0-yaml \ + php7.0-zip \ + php7.0-zmq \ + php7.0-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php7.0 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -246,21 +300,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################## @@ -314,3 +353,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml index 01762e359..3ef51d9ff 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.0/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php7.0" build: context: . - app-nodejs: - image: "epicmorg/php:php7.0-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile index 969c1c5bc..058daa42f 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/Dockerfile @@ -30,6 +30,9 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P ################################################################## # Installing PHP7 ################################################################## +#installing PHP repo +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' #Install base packages RUN apt-get update && \ @@ -44,9 +47,10 @@ RUN apt-get update && \ php7.1-xml \ php7.1-cgi && \ update-alternatives --set php /usr/bin/php7.1 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -91,17 +95,17 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=7.1 -ARG PHP_MODULE_PATH=/usr/lib/php/20160303 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=7.1 +ENV PHP_MODULE_PATH=/usr/lib/php/20160303 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP7 ################################################################## - && \ - sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://ftp.mpi-inf.mpg.de/mirrors/linux/mirror/deb.sury.org/repositories/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -109,50 +113,102 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php7.1 \ - php7.1-common \ - php7.1-dev \ - php7.1-ldap \ -# php7.1-mail \ -# php7.1-mailparse \ - php7.1-soap \ - php7.1-mysql \ - php7.1-curl \ - php7.1-gd \ - php7.1-intl \ - php7.1-zip \ - php7.1-bcmath \ - php7.1-fpm \ - php7.1-imap \ - php7.1-pspell \ - php7.1-recode \ - php7.1-sqlite3 \ - php7.1-pgsql \ - php7.1-tidy \ - php7.1-xmlrpc \ - php7.1-xml \ - php7.1-mbstring \ - php7.1-gettext \ - php7.1-apcu \ php7.1-cli \ php7.1-common \ + php7.1-dev \ + php7.1-amqp \ + php7.1-apcu-bc \ + php7.1-apcu \ + php7.1-bcmath \ + php7.1-bz2 \ php7.1-cgi \ - php7.1-json \ - php7.1-readline \ + php7.1-curl \ + php7.1-dba \ + php7.1-decimal \ + php7.1-dio \ + php7.1-ds \ php7.1-enchant \ - php7.1-ssh2 \ - php7.1-oauth \ - php7.1-gmagick \ - php7.1-redis \ - php7.1-smbclient \ - php7.1-yaml \ + php7.1-excimer \ + php7.1-fpm \ + php7.1-gd \ + php7.1-gearman \ php7.1-geoip \ +# php7.1-gmagick \ + php7.1-gmp \ + php7.1-gnupg \ + php7.1-grpc \ + php7.1-http \ + php7.1-igbinary \ + php7.1-imagick \ + php7.1-imap \ + php7.1-inotify \ + php7.1-interbase \ + php7.1-intl \ + php7.1-json \ + php7.1-ldap \ + php7.1-libvirt-php \ + php7.1-lua \ + php7.1-lz4 \ + php7.1-mailparse \ + php7.1-mbstring \ + php7.1-mcrypt \ + php7.1-memcache \ + php7.1-memcached \ + php7.1-mongodb \ + php7.1-msgpack \ + php7.1-mysql \ + php7.1-oauth \ + php7.1-odbc \ + php7.1-opcache \ + php7.1-pcov \ + php7.1-pgsql \ + php7.1-phpdbg \ + php7.1-pinba \ + php7.1-pq \ + php7.1-propro \ + php7.1-protobuf \ + php7.1-ps \ + php7.1-pspell \ + php7.1-radius \ + php7.1-raphf \ + php7.1-rdkafka \ + php7.1-readline \ + php7.1-recode \ + php7.1-redis \ + php7.1-rrd \ + php7.1-smbclient \ + php7.1-snmp \ + php7.1-soap \ + php7.1-sodium \ + php7.1-solr \ + php7.1-sqlite3 \ + php7.1-ssh2 \ + php7.1-stomp \ + php7.1-sybase \ + php7.1-tideways \ + php7.1-tidy \ + php7.1-uopz \ + php7.1-uploadprogress \ + php7.1-uuid \ + php7.1-vips \ + php7.1-xdebug \ + php7.1-xhprof \ + php7.1-xml \ + php7.1-xmlrpc \ + php7.1-xsl \ +# php7.1-yac \ + php7.1-yaml \ + php7.1-zip \ + php7.1-zmq \ + php7.1-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php7.1 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -246,21 +302,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################## @@ -315,3 +356,4 @@ RUN apt clean -y && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml index af1750324..014c47eb5 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.1/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php7.1" build: context: . - app-nodejs: - image: "epicmorg/php:php7.1-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile index d4f2d9c06..066479d34 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/Dockerfile @@ -30,6 +30,8 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P ################################################################## # Installing PHP7 ################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' #Install base packages RUN apt-get update && \ @@ -44,9 +46,10 @@ RUN apt-get update && \ php7.2-xml \ php7.2-cgi && \ update-alternatives --set php /usr/bin/php7.2 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -91,17 +94,17 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_PATH=/usr/lib/php/20170718 -ARG PHP_VER=7.2 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20170718 +ENV PHP_VER=7.2 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP7 ################################################################## - && \ - sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://ftp.mpi-inf.mpg.de/mirrors/linux/mirror/deb.sury.org/repositories/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -109,50 +112,104 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php7.2 \ - php7.2-common \ - php7.2-dev \ - php7.2-ldap \ -# php7.2-mail \ -# php7.2-mailparse \ - php7.2-soap \ - php7.2-mysql \ - php7.2-curl \ - php7.2-gd \ - php7.2-intl \ - php7.2-zip \ - php7.2-bcmath \ - php7.2-fpm \ - php7.2-imap \ - php7.2-pspell \ - php7.2-recode \ - php7.2-sqlite3 \ - php7.2-pgsql \ - php7.2-tidy \ - php7.2-xmlrpc \ - php7.2-xml \ - php7.2-mbstring \ - php7.2-gettext \ - php7.2-apcu \ php7.2-cli \ php7.2-common \ + php7.2-dev \ + php7.2-amqp \ + php7.2-apcu-bc \ + php7.2-apcu \ + php7.2-ast \ + php7.2-bcmath \ + php7.2-bz2 \ php7.2-cgi \ - php7.2-json \ - php7.2-readline \ + php7.2-curl \ + php7.2-dba \ + php7.2-decimal \ + php7.2-dio \ + php7.2-ds \ php7.2-enchant \ - php7.2-ssh2 \ - php7.2-oauth \ - php7.2-gmagick \ - php7.2-redis \ - php7.2-smbclient \ - php7.2-yaml \ + php7.2-excimer \ + php7.2-fpm \ + php7.2-gd \ + php7.2-gearman \ php7.2-geoip \ +# php7.2-gmagick \ + php7.2-gmp \ + php7.2-gnupg \ + php7.2-grpc \ + php7.2-http \ + php7.2-igbinary \ + php7.2-imagick \ + php7.2-imap \ + php7.2-inotify \ + php7.2-interbase \ + php7.2-intl \ + php7.2-json \ + php7.2-ldap \ + php7.2-libvirt-php \ + php7.2-lua \ + php7.2-lz4 \ + php7.2-mailparse \ + php7.2-maxminddb \ + php7.2-mbstring \ + php7.2-mcrypt \ + php7.2-memcache \ + php7.2-memcached \ + php7.2-mongodb \ + php7.2-msgpack \ + php7.2-mysql \ + php7.2-oauth \ + php7.2-odbc \ + php7.2-opcache \ + php7.2-pcov \ + php7.2-pgsql \ + php7.2-phalcon4 \ + php7.2-phpdbg \ + php7.2-pinba \ + php7.2-pq \ + php7.2-propro \ + php7.2-protobuf \ + php7.2-ps \ + php7.2-pspell \ + php7.2-radius \ + php7.2-raphf \ + php7.2-rdkafka \ + php7.2-readline \ + php7.2-recode \ + php7.2-redis \ + php7.2-rrd \ + php7.2-smbclient \ + php7.2-snmp \ + php7.2-soap \ + php7.2-solr \ + php7.2-sqlite3 \ + php7.2-ssh2 \ + php7.2-stomp \ + php7.2-sybase \ + php7.2-tideways \ + php7.2-tidy \ + php7.2-uopz \ + php7.2-uploadprogress \ + php7.2-uuid \ + php7.2-vips \ + php7.2-xdebug \ + php7.2-xhprof \ + php7.2-xml \ + php7.2-xmlrpc \ + php7.2-xsl \ +# php7.2-yac \ + php7.2-yaml \ + php7.2-zip \ + php7.2-zmq \ + php7.2-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php7.2 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -247,21 +304,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################## @@ -316,3 +358,4 @@ RUN apt clean -y && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml index 097894e58..9dad29ae1 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.2/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php7.2" build: context: . - app-nodejs: - image: "epicmorg/php:php7.2-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile index 49f90ede2..9485ab0dd 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/Dockerfile @@ -30,6 +30,8 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P ################################################################## # Installing PHP7 ################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' #Install base packages RUN apt-get update && \ @@ -44,9 +46,10 @@ RUN apt-get update && \ php7.3-xml \ php7.3-cgi && \ update-alternatives --set php /usr/bin/php7.3 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -91,17 +94,17 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_PATH=/usr/lib/php/20180731 -ARG PHP_VER=7.3 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20180731 +ENV PHP_VER=7.3 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP7 ################################################################## - && \ - sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://ftp.mpi-inf.mpg.de/mirrors/linux/mirror/deb.sury.org/repositories/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -109,50 +112,105 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php7.3 \ - php7.3-common \ - php7.3-dev \ - php7.3-ldap \ - php7.3-mail \ - php7.3-mailparse \ - php7.3-soap \ - php7.3-mysql \ - php7.3-curl \ - php7.3-gd \ - php7.3-intl \ - php7.3-zip \ - php7.3-bcmath \ - php7.3-fpm \ - php7.3-imap \ - php7.3-pspell \ - php7.3-recode \ - php7.3-sqlite3 \ - php7.3-pgsql \ - php7.3-tidy \ - php7.3-xmlrpc \ - php7.3-xml \ - php7.3-mbstring \ - php7.3-gettext \ - php7.3-apcu \ php7.3-cli \ php7.3-common \ + php7.3-dev \ + php7.3-amqp \ + php7.3-apcu-bc \ + php7.3-apcu \ + php7.3-ast \ + php7.3-bcmath \ + php7.3-bz2 \ php7.3-cgi \ - php7.3-json \ - php7.3-readline \ + php7.3-curl \ + php7.3-dba \ + php7.3-decimal \ + php7.3-dio \ + php7.3-ds \ php7.3-enchant \ - php7.3-ssh2 \ - php7.3-oauth \ - php7.3-gmagick \ - php7.3-redis \ - php7.3-smbclient \ - php7.3-yaml \ + php7.3-excimer \ + php7.3-fpm \ + php7.3-gd \ + php7.3-gearman \ php7.3-geoip \ +# php7.3-gmagick \ + php7.3-gmp \ + php7.3-gnupg \ + php7.3-grpc \ + php7.3-http \ + php7.3-igbinary \ + php7.3-imagick \ + php7.3-imap \ + php7.3-inotify \ + php7.3-interbase \ + php7.3-intl \ + php7.3-json \ + php7.3-ldap \ + php7.3-libvirt-php \ + php7.3-lua \ + php7.3-lz4 \ + php7.3-mailparse \ + php7.3-maxminddb \ + php7.3-mbstring \ + php7.3-mcrypt \ + php7.3-memcache \ + php7.3-memcached \ + php7.3-mongodb \ + php7.3-msgpack \ + php7.3-mysql \ + php7.3-oauth \ + php7.3-odbc \ + php7.3-opcache \ + php7.3-pcov \ + php7.3-pgsql \ + php7.3-phalcon4 \ + php7.3-phpdbg \ + php7.3-pinba \ + php7.3-pq \ + php7.3-propro \ + php7.3-protobuf \ + php7.3-ps \ + php7.3-pspell \ + php7.3-psr \ + php7.3-radius \ + php7.3-raphf \ + php7.3-rdkafka \ + php7.3-readline \ + php7.3-recode \ + php7.3-redis \ + php7.3-rrd \ + php7.3-smbclient \ + php7.3-snmp \ + php7.3-soap \ + php7.3-solr \ + php7.3-sqlite3 \ + php7.3-ssh2 \ + php7.3-stomp \ + php7.3-sybase \ + php7.3-tideways \ + php7.3-tidy \ + php7.3-uopz \ + php7.3-uploadprogress \ + php7.3-uuid \ + php7.3-vips \ + php7.3-xdebug \ + php7.3-xhprof \ + php7.3-xml \ + php7.3-xmlrpc \ + php7.3-xsl \ +# php7.3-yac \ + php7.3-yaml \ + php7.3-zip \ + php7.3-zmq \ + php7.3-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php7.3 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -251,21 +309,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################## @@ -318,3 +361,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml index 7ed82ed43..1736eab07 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.3/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php7.3" build: context: . - app-nodejs: - image: "epicmorg/php:php7.3-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile index d6d630532..9e65ad33c 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/Dockerfile @@ -20,7 +20,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -29,7 +29,10 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P ################################################################## # Installing PHP7 -################################################################## +###################################################################installing PHP repo +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' + RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ libmemcached-dev \ @@ -43,9 +46,10 @@ RUN apt-get update && \ php7.4-xml \ php7.4-cgi && \ update-alternatives --set php /usr/bin/php7.4 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -85,8 +89,8 @@ RUN cd ${MAKE_DIR} && \ ################################################################## # compilling smbclient ################################################################## -RUN pecl install smbclient && \ - cp ${PHP_MODULE_PATH}/smbclient.so ${EXPORT_DIR} +#RUN pecl install smbclient && \ +# cp ${PHP_MODULE_PATH}/smbclient.so ${EXPORT_DIR} ################################################################## ################################################################## @@ -96,9 +100,9 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini @@ -106,8 +110,8 @@ ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP7 ################################################################## - && \ - sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://ftp.mpi-inf.mpg.de/mirrors/linux/mirror/deb.sury.org/repositories/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -115,49 +119,105 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php7.4 \ - php7.4-common \ - php7.4-dev \ - php7.4-ldap \ - php7.4-mail \ - php7.4-mailparse \ - php7.4-soap \ - php7.4-mysql \ - php7.4-curl \ - php7.4-gd \ - php7.4-intl \ - php7.4-zip \ - php7.4-bcmath \ - php7.4-fpm \ - php7.4-imap \ - php7.4-pspell \ - php7.4-sqlite3 \ - php7.4-pgsql \ - php7.4-tidy \ - php7.4-xmlrpc \ - php7.4-xml \ - php7.4-mbstring \ - php7.4-gettext \ - php7.4-apcu \ php7.4-cli \ php7.4-common \ + php7.4-dev \ + php7.4-amqp \ + php7.4-apcu-bc \ + php7.4-apcu \ + php7.4-ast \ + php7.4-bcmath \ + php7.4-bz2 \ php7.4-cgi \ - php7.4-json \ - php7.4-readline \ + php7.4-curl \ + php7.4-dba \ + php7.4-decimal \ + php7.4-dio \ + php7.4-ds \ php7.4-enchant \ - php7.4-ssh2 \ - php7.4-oauth \ - php7.4-gmagick \ - php7.4-redis \ - php7.4-smbclient \ - php7.4-yaml \ + php7.4-excimer \ + php7.4-fpm \ + php7.4-gd \ + php7.4-gearman \ php7.4-geoip \ +# php7.4-gmagick \ + php7.4-gmp \ + php7.4-gnupg \ + php7.4-grpc \ + php7.4-http \ + php7.4-igbinary \ + php7.4-imagick \ + php7.4-imap \ + php7.4-inotify \ + php7.4-interbase \ + php7.4-intl \ + php7.4-json \ + php7.4-ldap \ + php7.4-libvirt-php \ + php7.4-lua \ + php7.4-lz4 \ + php7.4-mailparse \ + php7.4-maxminddb \ + php7.4-mbstring \ + php7.4-mcrypt \ + php7.4-memcache \ + php7.4-memcached \ + php7.4-mongodb \ + php7.4-msgpack \ + php7.4-mysql \ + php7.4-oauth \ + php7.4-odbc \ + php7.4-opcache \ + php7.4-pcov \ + php7.4-pgsql \ + php7.4-phalcon4 \ + php7.4-phalcon5 \ + php7.4-phpdbg \ + php7.4-pinba \ + php7.4-pq \ + php7.4-propro \ + php7.4-protobuf \ + php7.4-ps \ + php7.4-pspell \ + php7.4-psr \ + php7.4-radius \ + php7.4-raphf \ + php7.4-rdkafka \ + php7.4-readline \ + php7.4-redis \ + php7.4-rrd \ + php7.4-smbclient \ + php7.4-snmp \ + php7.4-soap \ + php7.4-solr \ + php7.4-sqlite3 \ + php7.4-ssh2 \ + php7.4-stomp \ + php7.4-sybase \ + php7.4-tideways \ + php7.4-tidy \ + php7.4-uopz \ + php7.4-uploadprogress \ + php7.4-uuid \ + php7.4-vips \ + php7.4-xdebug \ + php7.4-xhprof \ + php7.4-xml \ + php7.4-xmlrpc \ + php7.4-xsl \ +# php7.4-yac \ + php7.4-yaml \ + php7.4-zip \ + php7.4-zmq \ + php7.4-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php7.4 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -256,21 +316,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################## @@ -310,13 +355,13 @@ RUN echo "extension = ${PHP_MODULE_PATH}/perforce.so" > ${P4_PHP_INI} && \ ################################################################## # Installing smbclient addon ################################################################## -COPY --from=builder /builds/export/smbclient.so ${PHP_MODULE_PATH} -RUN echo "extension = ${PHP_MODULE_PATH}/smbclient.so" > ${SMB_PHP_INI} && \ - ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cgi/conf.d/smbclient.ini && \ - ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cli/conf.d/smbclient.ini && \ - ln -sf ${SMB_PHP_INI} ${PHP_DIR}/fpm/conf.d/smbclient.ini && \ - php -m && \ - php -v +#COPY --from=builder /builds/export/smbclient.so ${PHP_MODULE_PATH} +#RUN echo "extension = ${PHP_MODULE_PATH}/smbclient.so" > ${SMB_PHP_INI} && \ +# ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cgi/conf.d/smbclient.ini && \ +# ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cli/conf.d/smbclient.ini && \ +# ln -sf ${SMB_PHP_INI} ${PHP_DIR}/fpm/conf.d/smbclient.ini && \ +# php -m && \ +# php -v ################################################################## # Installing Composer addon @@ -335,3 +380,4 @@ RUN apt clean -y && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml index e5adcd363..3e3b7152b 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php7.4/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php7.4" build: context: . - app-nodejs: - image: "epicmorg/php:php7.4-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile index 66f49c2c5..53de3d02e 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_MODULE_VER=20200930 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_VER=8.0 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_VER=20200930 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_VER=8.0 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini @@ -13,6 +13,8 @@ ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP8 ################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -20,47 +22,100 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php8.0 \ - php8.0-common \ - php8.0-dev \ - php8.0-ldap \ - php8.0-mail \ - php8.0-mailparse \ - php8.0-soap \ - php8.0-mysql \ - php8.0-curl \ - php8.0-gd \ - php8.0-intl \ - php8.0-zip \ - php8.0-bcmath \ - php8.0-fpm \ - php8.0-imap \ - php8.0-pspell \ - php8.0-sqlite3 \ - php8.0-pgsql \ - php8.0-tidy \ - php8.0-xmlrpc \ - php8.0-xml \ - php8.0-mbstring \ - php8.0-gettext \ - php8.0-apcu \ php8.0-cli \ php8.0-common \ + php8.0-dev \ + php8.0-amqp \ + php8.0-apcu \ + php8.0-ast \ + php8.0-bcmath \ + php8.0-bz2 \ php8.0-cgi \ - php8.0-readline \ + php8.0-curl \ + php8.0-dba \ + php8.0-decimal \ + php8.0-dio \ + php8.0-ds \ php8.0-enchant \ - php8.0-ssh2 \ + php8.0-excimer \ + php8.0-fpm \ + php8.0-gd \ + php8.0-gearman \ +# php8.0-gmagick \ + php8.0-gmp \ + php8.0-gnupg \ + php8.0-grpc \ + php8.0-http \ + php8.0-igbinary \ + php8.0-imagick \ + php8.0-imap \ + php8.0-inotify \ + php8.0-interbase \ + php8.0-intl \ + php8.0-ldap \ + php8.0-libvirt-php \ + php8.0-lz4 \ + php8.0-mailparse \ + php8.0-maxminddb \ + php8.0-mbstring \ + php8.0-mcrypt \ + php8.0-memcache \ + php8.0-memcached \ + php8.0-mongodb \ + php8.0-msgpack \ + php8.0-mysql \ php8.0-oauth \ - php8.0-gmagick \ + php8.0-odbc \ + php8.0-opcache \ + php8.0-pcov \ + php8.0-pgsql \ + php8.0-phalcon5 \ + php8.0-phpdbg \ + php8.0-pinba \ + php8.0-pq \ + php8.0-propro \ + php8.0-protobuf \ + php8.0-ps \ + php8.0-pspell \ + php8.0-psr \ + php8.0-raphf \ + php8.0-rdkafka \ + php8.0-readline \ php8.0-redis \ + php8.0-rrd \ php8.0-smbclient \ + php8.0-snmp \ + php8.0-soap \ + php8.0-solr \ + php8.0-sqlite3 \ + php8.0-ssh2 \ + php8.0-stomp \ + php8.0-swoole \ + php8.0-sybase \ + php8.0-tideways \ + php8.0-tidy \ + php8.0-uopz \ + php8.0-uploadprogress \ + php8.0-uuid \ + php8.0-vips \ + php8.0-xdebug \ + php8.0-xhprof \ + php8.0-xml \ + php8.0-xmlrpc \ + php8.0-xsl \ +# php8.0-yac \ php8.0-yaml \ + php8.0-zip \ + php8.0-zmq \ + php8.0-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php8.0 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -159,21 +214,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing Bolt addon ################################################################## @@ -218,3 +258,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml index 24fe9487c..210f80ad3 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.0/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php8.0" build: context: . - app-nodejs: - image: "epicmorg/php:php8.0-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile index f1255e4b2..17b2d3c54 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=8.1 -ARG PHP_MODULE_VER=20210902 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=8.1 +ENV PHP_MODULE_VER=20210902 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini @@ -13,6 +13,8 @@ ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP8 ################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -20,47 +22,100 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php8.1 \ - php8.1-common \ - php8.1-dev \ - php8.1-ldap \ - php8.1-mail \ - php8.1-mailparse \ - php8.1-soap \ - php8.1-mysql \ - php8.1-curl \ - php8.1-gd \ - php8.1-intl \ - php8.1-zip \ - php8.1-bcmath \ - php8.1-fpm \ - php8.1-imap \ - php8.1-pspell \ - php8.1-sqlite3 \ - php8.1-pgsql \ - php8.1-tidy \ - php8.1-xmlrpc \ - php8.1-xml \ - php8.1-mbstring \ - php8.1-gettext \ - php8.1-apcu \ php8.1-cli \ php8.1-common \ + php8.1-dev \ + php8.1-amqp \ + php8.1-apcu \ + php8.1-ast \ + php8.1-bcmath \ + php8.1-bz2 \ php8.1-cgi \ - php8.1-readline \ + php8.1-curl \ + php8.1-dba \ + php8.1-decimal \ + php8.1-dio \ + php8.1-ds \ php8.1-enchant \ - php8.1-ssh2 \ + php8.1-excimer \ + php8.1-fpm \ + php8.1-gd \ + php8.1-gearman \ +# php8.1-gmagick \ + php8.1-gmp \ + php8.1-gnupg \ + php8.1-grpc \ + php8.1-http \ + php8.1-igbinary \ + php8.1-imagick \ + php8.1-imap \ + php8.1-inotify \ + php8.1-interbase \ + php8.1-intl \ + php8.1-ldap \ + php8.1-libvirt-php \ + php8.1-lz4 \ + php8.1-mailparse \ + php8.1-maxminddb \ + php8.1-mbstring \ + php8.1-mcrypt \ + php8.1-memcache \ + php8.1-memcached \ + php8.1-mongodb \ + php8.1-msgpack \ + php8.1-mysql \ php8.1-oauth \ - php8.1-gmagick \ + php8.1-odbc \ + php8.1-opcache \ + php8.1-pcov \ + php8.1-pgsql \ + php8.1-phalcon5 \ + php8.1-phpdbg \ + php8.1-pinba \ + php8.1-pq \ + php8.1-propro \ + php8.1-protobuf \ + php8.1-ps \ + php8.1-pspell \ + php8.1-psr \ + php8.1-raphf \ + php8.1-rdkafka \ + php8.1-readline \ php8.1-redis \ + php8.1-rrd \ php8.1-smbclient \ + php8.1-snmp \ + php8.1-soap \ + php8.1-solr \ + php8.1-sqlite3 \ + php8.1-ssh2 \ + php8.1-stomp \ + php8.1-swoole \ + php8.1-sybase \ + php8.1-tideways \ + php8.1-tidy \ + php8.1-uopz \ + php8.1-uploadprogress \ + php8.1-uuid \ + php8.1-vips \ + php8.1-xdebug \ + php8.1-xhprof \ + php8.1-xml \ + php8.1-xmlrpc \ + php8.1-xsl \ +# php8.1-yac \ php8.1-yaml \ + php8.1-zip \ + php8.1-zmq \ + php8.1-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php8.1 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -159,21 +214,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################# @@ -215,3 +255,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml index 9c9f0922c..a357d30b0 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.1/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php8.1" build: context: . - app-nodejs: - image: "epicmorg/php:php8.1-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile index e11fe3c59..7e131472b 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=8.2 -ARG PHP_MODULE_VER=20220829 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=8.2 +ENV PHP_MODULE_VER=20220829 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini @@ -13,6 +13,8 @@ ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP8 ################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -20,47 +22,100 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php8.2 \ - php8.2-common \ - php8.2-dev \ - php8.2-ldap \ - php8.2-mail \ - php8.2-mailparse \ - php8.2-soap \ - php8.2-mysql \ - php8.2-curl \ - php8.2-gd \ - php8.2-intl \ - php8.2-zip \ - php8.2-bcmath \ - php8.2-fpm \ - php8.2-imap \ - php8.2-pspell \ - php8.2-sqlite3 \ - php8.2-pgsql \ - php8.2-tidy \ - php8.2-xmlrpc \ - php8.2-xml \ - php8.2-mbstring \ - php8.2-gettext \ - php8.2-apcu \ php8.2-cli \ php8.2-common \ + php8.2-dev \ + php8.2-amqp \ + php8.2-apcu \ + php8.2-ast \ + php8.2-bcmath \ + php8.2-bz2 \ php8.2-cgi \ - php8.2-readline \ + php8.2-curl \ + php8.2-dba \ + php8.2-decimal \ + php8.2-dio \ + php8.2-ds \ php8.2-enchant \ - php8.2-ssh2 \ + php8.2-excimer \ + php8.2-fpm \ + php8.2-gd \ + php8.2-gearman \ +# php8.2-gmagick \ + php8.2-gmp \ + php8.2-gnupg \ + php8.2-grpc \ + php8.2-http \ + php8.2-igbinary \ + php8.2-imagick \ + php8.2-imap \ + php8.2-inotify \ + php8.2-interbase \ + php8.2-intl \ + php8.2-ldap \ + php8.2-libvirt-php \ + php8.2-lz4 \ + php8.2-mailparse \ + php8.2-maxminddb \ + php8.2-mbstring \ + php8.2-mcrypt \ + php8.2-memcache \ + php8.2-memcached \ + php8.2-mongodb \ + php8.2-msgpack \ + php8.2-mysql \ php8.2-oauth \ - php8.2-gmagick \ + php8.2-odbc \ + php8.2-opcache \ + php8.2-pcov \ + php8.2-pgsql \ + php8.2-phalcon5 \ + php8.2-phpdbg \ + php8.2-pinba \ + php8.2-pq \ + php8.2-propro \ + php8.2-protobuf \ + php8.2-ps \ + php8.2-pspell \ + php8.2-psr \ + php8.2-raphf \ + php8.2-rdkafka \ + php8.2-readline \ php8.2-redis \ + php8.2-rrd \ php8.2-smbclient \ + php8.2-snmp \ + php8.2-soap \ + php8.2-solr \ + php8.2-sqlite3 \ + php8.2-ssh2 \ + php8.2-stomp \ + php8.2-swoole \ + php8.2-sybase \ + php8.2-tideways \ + php8.2-tidy \ + php8.2-uopz \ + php8.2-uploadprogress \ + php8.2-uuid \ + php8.2-vips \ + php8.2-xdebug \ + php8.2-xhprof \ + php8.2-xml \ + php8.2-xmlrpc \ + php8.2-xsl \ +# php8.2-yac \ php8.2-yaml \ + php8.2-zip \ + php8.2-zmq \ + php8.2-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php8.2 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -159,21 +214,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v - ################################################################## # Installing IOnCube addon ################################################################# @@ -215,3 +255,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml index 1495f840f..45322457a 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.2/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php8.2" build: context: . - app-nodejs: - image: "epicmorg/php:php8.2-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile index e8eddfc20..2397020a7 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/Dockerfile @@ -2,10 +2,10 @@ FROM epicmorg/debian:bookworm LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive -ARG PHP_VER=8.3 -ARG PHP_MODULE_VER=20220830 -ARG PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_VER=8.3 +ENV PHP_MODULE_VER=20230901 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini @@ -13,6 +13,8 @@ ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini ################################################################## # Installing PHP8 ################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN apt-get update && \ apt-get install -y --allow-unauthenticated \ @@ -20,37 +22,97 @@ RUN apt-get update && \ libgmp-dev \ # php-pear \ php8.3 \ - php8.3-common \ - php8.3-dev \ - php8.3-ldap \ - php8.3-soap \ - php8.3-mysql \ - php8.3-curl \ - php8.3-gd \ - php8.3-intl \ - php8.3-zip \ - php8.3-bcmath \ - php8.3-fpm \ - php8.3-imap \ - php8.3-pspell \ - php8.3-sqlite3 \ - php8.3-pgsql \ - php8.3-tidy \ - php8.3-xml \ - php8.3-mbstring \ - php8.3-gettext \ php8.3-cli \ php8.3-common \ + php8.3-dev \ + php8.3-amqp \ + php8.3-apcu \ + php8.3-ast \ + php8.3-bcmath \ + php8.3-bz2 \ php8.3-cgi \ - php8.3-readline \ + php8.3-curl \ + php8.3-dba \ + php8.3-decimal \ + php8.3-dio \ + php8.3-ds \ php8.3-enchant \ + php8.3-excimer \ + php8.3-fpm \ + php8.3-gd \ + php8.3-gearman \ +# php8.3-gmagick \ + php8.3-gmp \ + php8.3-gnupg \ + php8.3-grpc \ + php8.3-http \ + php8.3-igbinary \ + php8.3-imagick \ + php8.3-imap \ + php8.3-inotify \ + php8.3-interbase \ + php8.3-intl \ + php8.3-ldap \ + php8.3-libvirt-php \ + php8.3-mailparse \ + php8.3-maxminddb \ + php8.3-mbstring \ + php8.3-mcrypt \ + php8.3-memcache \ + php8.3-memcached \ + php8.3-mongodb \ + php8.3-msgpack \ + php8.3-mysql \ + php8.3-oauth \ + php8.3-odbc \ + php8.3-opcache \ + php8.3-pcov \ + php8.3-pgsql \ + php8.3-phalcon5 \ + php8.3-phpdbg \ + php8.3-pinba \ + php8.3-pq \ + php8.3-protobuf \ + php8.3-ps \ + php8.3-pspell \ + php8.3-psr \ + php8.3-raphf \ + php8.3-rdkafka \ + php8.3-readline \ + php8.3-redis \ + php8.3-rrd \ + php8.3-smbclient \ + php8.3-snmp \ + php8.3-soap \ + php8.3-solr \ + php8.3-sqlite3 \ + php8.3-ssh2 \ + php8.3-stomp \ + php8.3-swoole \ + php8.3-sybase \ + php8.3-tidy \ + php8.3-uopz \ + php8.3-uploadprogress \ + php8.3-uuid \ + php8.3-vips \ + php8.3-xdebug \ + php8.3-xhprof \ + php8.3-xml \ + php8.3-xmlrpc \ + php8.3-xsl \ +# php8.3-yac \ + php8.3-yaml \ + php8.3-zip \ + php8.3-zmq \ + php8.3-zstd \ smbclient libsmbclient \ sendmail && \ ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ update-alternatives --set php /usr/bin/php8.3 && \ -# pear upgrade && \ +# pear clear-cache && \ pear update-channels && \ - pecl channel-update pecl.php.noninteractive +# pear upgrade && \ + pecl channel-update pecl.php.net RUN echo "=============================================" && \ echo php -m $(php -m) && \ @@ -149,20 +211,6 @@ RUN pecl install timezonedb && \ php -m && \ php -v -################################################################## -# Installing imagic addon -################################################################## -RUN apt-get update && \ - apt-get install -y --allow-unauthenticated \ - libmagickwand-dev \ - imagemagick && \ - pecl install imagick && \ -# echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/apache2/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cgi/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/cli/php.ini && \ - echo "extension = ${PHP_MODULE_PATH}/imagick.so" >> ${PHP_DIR}/fpm/php.ini && \ - php -m && \ - php -v ################################################################## # Installing IOnCube addon @@ -205,3 +253,5 @@ RUN apt clean -y && \ rm -rfv /var/lib/apt/lists/* && \ rm -rfv /var/cache/apt/archives/*.deb && \ rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml index cf30092c7..4b5c33c47 100644 --- a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.3/docker-compose.yml @@ -4,8 +4,3 @@ services: image: "epicmorg/php:php8.3" build: context: . - app-nodejs: - image: "epicmorg/php:php8.3-nodejs" - build: - context: . - dockerfile: ./Dockerfile.nodejs diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/Dockerfile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/Dockerfile new file mode 100644 index 000000000..fae8ad181 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/Dockerfile @@ -0,0 +1,204 @@ +FROM epicmorg/debian:bookworm +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +ENV PHP_VER=8.4 +ENV PHP_MODULE_VER=20240924 +ENV PHP_MODULE_PATH=/usr/lib/php/${PHP_MODULE_VER} +ENV PHP_DIR=/etc/php/${PHP_VER} +ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini +ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini +ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini + +################################################################## +# Installing PHP8 +################################################################## +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://vault.center/mirror/apt/packages.sury.org/php/apt.gpg +RUN sh -c 'echo "deb https://vault.center/mirror/apt/packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' + +RUN apt-get update && \ + apt-get install -y --allow-unauthenticated \ + libmemcached-dev \ + libgmp-dev \ +# php-pear \ + php8.4 \ + php8.4-cli \ + php8.4-common \ + php8.4-dev \ + php8.4-bcmath \ + php8.4-bz2 \ + php8.4-cgi \ + php8.4-curl \ + php8.4-dba \ + php8.4-enchant \ + php8.4-fpm \ + php8.4-gd \ + php8.4-gmp \ + php8.4-interbase \ + php8.4-intl \ + php8.4-ldap \ + php8.4-mbstring \ + php8.4-mysql \ + php8.4-odbc \ + php8.4-opcache \ + php8.4-pgsql \ + php8.4-phpdbg \ + php8.4-readline \ + php8.4-snmp \ + php8.4-soap \ + php8.4-sqlite3 \ + php8.4-sybase \ + php8.4-tidy \ + php8.4-xml \ + php8.4-xsl \ + php8.4-zip \ + smbclient libsmbclient \ + sendmail && \ + ln -sf /etc/ssl/dhparam.pem /etc/php/dhparam.pem && \ + update-alternatives --set php /usr/bin/php8.4 && \ +# pear clear-cache && \ + pear update-channels && \ +# pear upgrade && \ + pecl channel-update pecl.php.net + +RUN echo "=============================================" && \ + echo php -m $(php -m) && \ + echo php -v $(php -v) && \ + echo pear version $(pear version) && \ + echo pear list $(pear list) && \ + echo "=============================================" + +################################################################## +# Enabling extensions +################################################################## +RUN phpenmod \ + snmp \ + gmp \ + calendar \ + ldap \ + curl \ + exif \ + ftp \ + fileinfo \ + gd \ + geoip \ + gnupg \ + iconv \ + imap \ + json \ + mbstring \ + memcached \ + mysqli \ + mysqlnd \ + oauth \ + pdo_mysql \ + pdo_sqlite \ + phar \ + posix \ + readline \ + redis \ + simplexml \ + sockets \ + sqlite3 \ + ssh2 \ + tokenizer \ + xml \ + xmlreader \ + xmlrpc \ + xmlwriter \ + xsl \ + yaml && \ + php -m && \ + php -v + +############################################################################## +# Cassandra CPP Support Install +############################################################################## +COPY addons/multiarch-support_2.28_amd64.deb /tmp/cassandra-php-driver/multiarch-support_2.28_amd64.deb +COPY addons/libssl1.1_1.1.1_amd64.deb /tmp/cassandra-php-driver/libssl1.1_1.1.1_amd64.deb +RUN wget -c --random-wait --user-agent="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" --directory-prefix=/tmp/cassandra-php-driver \ + https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1_1.35.0-1_amd64.deb \ + https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dev_1.35.0-1_amd64.deb \ + https://downloads.datastax.com/cpp-driver/ubuntu/18.04/dependencies/libuv/v1.35.0/libuv1-dbg_1.35.0-1_amd64.deb \ + https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb \ + https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver-dev_2.16.0-1_amd64.deb \ + https://downloads.datastax.com/cpp-driver/ubuntu/18.04/cassandra/v2.16.0/cassandra-cpp-driver_2.16.0-1_amd64.deb + +RUN cd /tmp/cassandra-php-driver && \ + dpkg -i ./libssl1.1_1.1.1_amd64.deb && \ + dpkg -i ./multiarch-support_2.28_amd64.deb && \ + dpkg -i ./libuv1_1.35.0-1_amd64.deb && \ + dpkg -i ./libuv1-dev_1.35.0-1_amd64.deb && \ + dpkg -i ./libuv1-dbg_1.35.0-1_amd64.deb && \ + dpkg -i ./cassandra-cpp-driver_2.16.0-1_amd64.deb && \ + dpkg -i ./cassandra-cpp-driver-dev_2.16.0-1_amd64.deb && \ + dpkg -i ./cassandra-cpp-driver-dbg_2.16.0-1_amd64.deb + +############################################################################## +# Cassandra PHP Drivers Install +############################################################################## +#RUN pecl install cassandra && \ +#COPY usr/lib/php/20220829/cassandra.so ${PHP_MODULE_PATH}/cassandra.so +#RUN echo "extension = ${PHP_MODULE_PATH}/cassandra.so" > ${CAS_PHP_INI} && \ +# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/cgi/conf.d/cassandra.ini && \ +# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/cli/conf.d/cassandra.ini && \ +# ln -sf ${CAS_PHP_INI} ${PHP_DIR}/fpm/conf.d/cassandra.ini && \ +## ln -sf ${CAS_PHP_INI} ${PHP_DIR}/apache2/conf.d/cassandra.ini && \ +# php -m && \ +# php -v + +################################################################## +# Installing timezonedb addon +################################################################## +#RUN pecl install timezonedb && \ +# echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/apache2/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/cgi/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/cli/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/timezonedb.so" >> ${PHP_DIR}/fpm/php.ini && \ +# php -m && \ +# php -v + + +################################################################## +# Installing IOnCube addon +################################################################# +#ADD https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz /tmp/ioncube.tar.gz +#RUN tar -C /tmp -xvf /tmp/ioncube.tar.gz && \ +# cp /tmp/ioncube/ioncube_loader_lin_8.3.so ${PHP_MODULE_PATH} && \ +### echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_8.3.so" >> ${PHP_DIR}/apache2/php.ini && \ +# echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_8.3.so" >> ${PHP_DIR}/cgi/php.ini && \ +# echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_8.3.so" >> ${PHP_DIR}/cli/php.ini && \ +# echo "zend_extension = ${PHP_MODULE_PATH}/ioncube_loader_lin_8.3.so" >> ${PHP_DIR}/fpm/php.ini && \ +# php -m && \ +# php -v + +################################################################## +# Installing Bolt addon +################################################################## +#ADD https://phpbolt.com/wp-content/uploads/2023/03/phpBolt-extension-1.0.4.zip /tmp/phpBolt.zip +#COPY usr/lib/php/20210902/phpBolt-extension-1.0.4-php83.so ${PHP_MODULE_PATH}/phpBolt-extension-1.0.4-php83.so +##RUN echo "extension = ${PHP_MODULE_PATH}/phpBolt-extension-1.0.4-php83.so" >> ${PHP_DIR}/apache2/php.ini && \ +#RUN echo "extension = ${PHP_MODULE_PATH}/phpBolt-extension-1.0.4-php83.so" >> ${PHP_DIR}/cgi/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/phpBolt-extension-1.0.4-php83.so" >> ${PHP_DIR}/cli/php.ini && \ +# echo "extension = ${PHP_MODULE_PATH}/phpBolt-extension-1.0.4-php83.so" >> ${PHP_DIR}/fpm/php.ini && \ +# php -m && \ +# php -v + +################################################################## +# Installing Composer addon +################################################################## +RUN cd /tmp && \ + php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \ + php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \ + rm /tmp/composer-setup.php + +################################################################## +# cleaninig up +################################################################## +RUN apt clean -y && \ + apt autoclean -y && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb && \ + rm -rfv /tmp/* + +RUN updatedb \ No newline at end of file diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/Makefile b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/Makefile new file mode 100644 index 000000000..06e855b50 --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/Makefile @@ -0,0 +1,36 @@ +PIP_BREAK_SYSTEM_PACKAGES=1 + +all: app + +app: + make build + make deploy + make clean + +build: + kaniko-wrapper --version + +dry: + make dry-run + +test: + make dry-run + +dry-run: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/README.md b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/addons/libssl1.1_1.1.1_amd64.deb b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/addons/libssl1.1_1.1.1_amd64.deb new file mode 100644 index 000000000..67b5d7314 Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/addons/libssl1.1_1.1.1_amd64.deb differ diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/addons/multiarch-support_2.28_amd64.deb b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/addons/multiarch-support_2.28_amd64.deb new file mode 100644 index 000000000..7cf23ffa8 Binary files /dev/null and b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/addons/multiarch-support_2.28_amd64.deb differ diff --git a/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml new file mode 100644 index 000000000..7912b965e --- /dev/null +++ b/linux/ecosystem/epicmorg/debian/12-bookworm/php/php8.4/docker-compose.yml @@ -0,0 +1,6 @@ +#version: '3' +services: + app: + image: "epicmorg/php:php8.4" + build: + context: . diff --git a/linux/ecosystem/nginx/1.14.2/php/Dockerfile b/linux/ecosystem/nginx/1.14.2/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.14.2/php/Dockerfile +++ b/linux/ecosystem/nginx/1.14.2/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.15.12/php/Dockerfile b/linux/ecosystem/nginx/1.15.12/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.15.12/php/Dockerfile +++ b/linux/ecosystem/nginx/1.15.12/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.16.1/php/Dockerfile b/linux/ecosystem/nginx/1.16.1/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.16.1/php/Dockerfile +++ b/linux/ecosystem/nginx/1.16.1/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.17.10/php/Dockerfile b/linux/ecosystem/nginx/1.17.10/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.17.10/php/Dockerfile +++ b/linux/ecosystem/nginx/1.17.10/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.18.0/php/Dockerfile b/linux/ecosystem/nginx/1.18.0/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.18.0/php/Dockerfile +++ b/linux/ecosystem/nginx/1.18.0/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.19.10/php/Dockerfile b/linux/ecosystem/nginx/1.19.10/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.19.10/php/Dockerfile +++ b/linux/ecosystem/nginx/1.19.10/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.20.1/php/Dockerfile b/linux/ecosystem/nginx/1.20.1/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.20.1/php/Dockerfile +++ b/linux/ecosystem/nginx/1.20.1/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.21.3/php/Dockerfile b/linux/ecosystem/nginx/1.21.3/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.21.3/php/Dockerfile +++ b/linux/ecosystem/nginx/1.21.3/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/1.21.6/php/Dockerfile b/linux/ecosystem/nginx/1.21.6/php/Dockerfile index 3d928b4a0..ff8d3eca9 100644 --- a/linux/ecosystem/nginx/1.21.6/php/Dockerfile +++ b/linux/ecosystem/nginx/1.21.6/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini diff --git a/linux/ecosystem/nginx/latest/mainline/php/Dockerfile b/linux/ecosystem/nginx/latest/mainline/php/Dockerfile index 277b6f505..53bce36de 100644 --- a/linux/ecosystem/nginx/latest/mainline/php/Dockerfile +++ b/linux/ecosystem/nginx/latest/mainline/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -106,9 +106,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini ARG CAS_PHP_INI=${PHP_DIR}/mods-available/cassandra.ini diff --git a/linux/ecosystem/nginx/latest/quic/php/Dockerfile b/linux/ecosystem/nginx/latest/quic/php/Dockerfile index 1bdb6808b..7412dc82e 100644 --- a/linux/ecosystem/nginx/latest/quic/php/Dockerfile +++ b/linux/ecosystem/nginx/latest/quic/php/Dockerfile @@ -28,7 +28,7 @@ ARG P4API_URL=http://filehost.perforce.com/perforce/${P4API_VER}/bin.linux26x86_ ARG P4PHP_VER=r20.1 ARG P4PHP_URL=http://filehost.perforce.com/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 ################################################################## # Files and folders @@ -97,9 +97,9 @@ ARG DEBIAN_FRONTEND=noninteractive ################################################################## # Installing php fpm for nginx from deb ################################################################## -ARG PHP_MODULE_PATH=/usr/lib/php/20190902 -ARG PHP_VER=7.4 -ARG PHP_DIR=/etc/php/${PHP_VER} +ENV PHP_MODULE_PATH=/usr/lib/php/20190902 +ENV PHP_VER=7.4 +ENV PHP_DIR=/etc/php/${PHP_VER} ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini