Skip to content

Commit

Permalink
Add support for PHP|8.1.27 and PHP|8.2.14 (#2339)
Browse files Browse the repository at this point in the history
* Add support for PHP|8.1.27 and PHP|8.2.14

* fix stretch archive link

* update base tags

* update php version for runtime images

* nit

* update base tag

* refactor

* update base tags

* fix stretch archive link

---------

Co-authored-by: root <root@Akshay-D22.fareast.corp.microsoft.com>
  • Loading branch information
kumaraksh1 and root authored Jan 23, 2024
1 parent 8bdf0ef commit d572f60
Show file tree
Hide file tree
Showing 26 changed files with 80 additions and 64 deletions.
12 changes: 6 additions & 6 deletions build/__phpVersions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.

PHP_RUNTIME_BASE_TAG='20231003.1'
PHP_FPM_RUNTIME_BASE_TAG='20231003.1'
PHP_RUNTIME_BASE_TAG='20240116.2'
PHP_FPM_RUNTIME_BASE_TAG='20240116.2'
COMPOSER_DEFAULT_VERSION='2.0.8'
COMPOSER_SETUP_SHA384='e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02'
COMPOSER1_9_VERSION='1.9.3'
Expand All @@ -12,12 +12,12 @@ COMPOSER2_3_VERSION='2.3.10'
COMPOSER2_4_VERSION='2.4.4'
COMPOSER2_5_VERSION='2.5.8'
COMPOSER2_6_VERSION='2.6.2'
PHP82_VERSION='8.2.9'
PHP82_VERSION='8.2.14'
PHP82_KEYS='1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544'
PHP82_TAR_SHA256='1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765'
PHP81_VERSION='8.1.22'
PHP82_TAR_SHA256='763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583'
PHP81_VERSION='8.1.27'
PHP81_KEYS='528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544'
PHP81_TAR_SHA256='9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d'
PHP81_TAR_SHA256='479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658'
PHP80_VERSION='8.0.30'
PHP80_KEYS='1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F'
PHP80_TAR_SHA256='216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9'
Expand Down
12 changes: 6 additions & 6 deletions build/constants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
file-name-prefix: __
- name: php-versions
constants:
php-runtime-base-tag: 20231003.1
php-fpm-runtime-base-tag: 20231003.1
php-runtime-base-tag: 20240116.2
php-fpm-runtime-base-tag: 20240116.2
composer-default-version: 2.0.8
composer-setup-sha384: e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02
composer1-9-version: 1.9.3
Expand All @@ -197,12 +197,12 @@
composer2-4-version: 2.4.4
composer2-5-version: 2.5.8
composer2-6-version: 2.6.2
php82-version: 8.2.9
php82-version: 8.2.14
php82-keys: 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544
php82-tar-sha256: 1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765
php81-version: 8.1.22
php82-tar-sha256: 763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583
php81-version: 8.1.27
php81-keys: 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544
php81-tar-sha256: 9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d
php81-tar-sha256: 479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658
php80-version: 8.0.30
php80-keys: 1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F
php80-tar-sha256: 216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9
Expand Down
8 changes: 8 additions & 0 deletions doc/supportedPlatformVersions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@
- 8.1.20
- 8.1.21
- 8.1.22
- 8.1.27
- 8.2.0
- 8.2.1
- 8.2.2
Expand All @@ -1042,6 +1043,7 @@
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.14

### buster

Expand Down Expand Up @@ -1088,6 +1090,7 @@
- 8.1.20
- 8.1.21
- 8.1.22
- 8.1.27
- 8.2.0
- 8.2.1
- 8.2.2
Expand All @@ -1097,6 +1100,7 @@
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.14

### focal-scm

Expand Down Expand Up @@ -1143,6 +1147,7 @@
- 8.1.20
- 8.1.21
- 8.1.22
- 8.1.27
- 8.2.0
- 8.2.1
- 8.2.2
Expand All @@ -1152,6 +1157,7 @@
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.14

### stretch

Expand Down Expand Up @@ -1207,6 +1213,7 @@
- 8.1.20
- 8.1.21
- 8.1.22
- 8.1.27
- 8.2.0
- 8.2.1
- 8.2.2
Expand All @@ -1216,6 +1223,7 @@
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.14



Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR \
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

ENV DEBIAN_FRONTEND=noninteractive
Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfiles/cli.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

COPY --from=oryxdevmcr.azurecr.io/private/oryx/buildscriptgenerator /opt/buildscriptgen/ /opt/buildscriptgen/
Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfiles/cliBuilder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

COPY --from=oryxdevmcr.azurecr.io/private/oryx/buildscriptgenerator /opt/buildscriptgen/ /opt/buildscriptgen/
Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfiles/gitHubActions.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

# Install basic build tools
Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfiles/ltsVersions.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ENV DEBIAN_FLAVOR="stretch"
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

# Install basic build tools
Expand Down
4 changes: 2 additions & 2 deletions images/build/Dockerfiles/vso.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ENV ORYX_PREFER_USER_INSTALLED_SDKS=true \
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

COPY --from=oryxdevmcr.azurecr.io/private/oryx/support-files-image-for-build /tmp/oryx/ /opt/tmp
Expand Down
4 changes: 2 additions & 2 deletions images/build/php/prereqs/installPrereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ apt-get update \

##<argon2>##
sed -e 's/# deb http:\/\/deb.debian.org\/debian stretch-updates/deb http:\/\/deb.debian.org\/debian stretch-updates/g' \
-e 's/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/deb http:\/\/deb.debian.org\/debian stretch/g' \
-e 's/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/deb http:\/\/security.debian.org\/debian-security stretch/g' \
-e 's/deb http:\/\/archive.debian.org\/debian stretch/deb http:\/\/deb.debian.org\/debian stretch/g' \
-e 's/deb http:\/\/archive.debian.org\/debian-security stretch/deb http:\/\/security.debian.org\/debian-security stretch/g' \
-e 's/stretch/buster/g' /etc/apt/sources.list > /etc/apt/sources.list.d/buster.list;
{ \
echo 'Package: *';
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php-fpm/8.1/8.1.bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
ENV GPG_KEYS 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD


ENV PHP_VERSION 8.1.22
ENV PHP_URL="https://www.php.net/get/php-8.1.22.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.22.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d" PHP_MD5=""
ENV PHP_VERSION 8.1.27
ENV PHP_URL="https://www.php.net/get/php-8.1.27.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.27.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658" PHP_MD5=""

RUN set -eux; \
\
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php-fpm/8.1/8.1.buster.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
ENV GPG_KEYS 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD


ENV PHP_VERSION 8.1.22
ENV PHP_URL="https://www.php.net/get/php-8.1.22.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.22.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d" PHP_MD5=""
ENV PHP_VERSION 8.1.27
ENV PHP_URL="https://www.php.net/get/php-8.1.27.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.27.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658" PHP_MD5=""

RUN set -eux; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/runtime/php-fpm/8.1/base.bullseye.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM oryxdevmcr.azurecr.io/private/oryx/php-fpm-8.1-bullseye
SHELL ["/bin/bash", "-c"]
ENV PHP_VERSION 8.1.22
ENV PHP_VERSION 8.1.27

# An environment variable for oryx run-script to know the origin of php image so that
# start-up command can be determined while creating run script
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php-fpm/8.2/8.2.bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A

ENV PHP_VERSION 8.2.9
ENV PHP_URL="https://www.php.net/get/php-8.2.9.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.9.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765" PHP_MD5=""
ENV PHP_VERSION 8.2.14
ENV PHP_URL="https://www.php.net/get/php-8.2.14.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.14.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583" PHP_MD5=""

RUN set -eux; \
\
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php-fpm/8.2/8.2.buster.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A

ENV PHP_VERSION 8.2.9
ENV PHP_URL="https://www.php.net/get/php-8.2.9.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.9.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765" PHP_MD5=""
ENV PHP_VERSION 8.2.14
ENV PHP_URL="https://www.php.net/get/php-8.2.14.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.14.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583" PHP_MD5=""

RUN set -eux; \
\
Expand Down
2 changes: 1 addition & 1 deletion images/runtime/php-fpm/8.2/base.bullseye.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM oryxdevmcr.azurecr.io/private/oryx/php-fpm-8.2-bullseye
SHELL ["/bin/bash", "-c"]
ENV PHP_VERSION 8.2.9
ENV PHP_VERSION 8.2.14

# An environment variable for oryx run-script to know the origin of php image so that
# start-up command can be determined while creating run script
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php/8.1/8.1.bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD

ENV PHP_VERSION 8.1.22
ENV PHP_URL="https://www.php.net/get/php-8.1.22.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.22.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d" PHP_MD5=""
ENV PHP_VERSION 8.1.27
ENV PHP_URL="https://www.php.net/get/php-8.1.27.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.27.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658" PHP_MD5=""

RUN set -eux; \
\
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php/8.1/8.1.buster.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD

ENV PHP_VERSION 8.1.22
ENV PHP_URL="https://www.php.net/get/php-8.1.22.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.22.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d" PHP_MD5=""
ENV PHP_VERSION 8.1.27
ENV PHP_URL="https://www.php.net/get/php-8.1.27.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.27.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658" PHP_MD5=""

RUN set -eux; \
\
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php/8.2/8.2.bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A

ENV PHP_VERSION 8.2.9
ENV PHP_URL="https://www.php.net/get/php-8.2.9.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.9.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765" PHP_MD5=""
ENV PHP_VERSION 8.2.14
ENV PHP_URL="https://www.php.net/get/php-8.2.14.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.14.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583" PHP_MD5=""

RUN set -eux; \
\
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php/8.2/8.2.buster.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"

ENV GPG_KEYS 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A

ENV PHP_VERSION 8.2.9
ENV PHP_URL="https://www.php.net/get/php-8.2.9.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.9.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765" PHP_MD5=""
ENV PHP_VERSION 8.2.14
ENV PHP_URL="https://www.php.net/get/php-8.2.14.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.2.14.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583" PHP_MD5=""

RUN set -eux; \
\
Expand Down
4 changes: 2 additions & 2 deletions platforms/php/prereqs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ COPY images/receiveGpgKeys.sh /tmp/receiveGpgKeys.sh

RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
fi

RUN chmod +x /tmp/*.sh && chmod +x /php/*.sh
Expand Down
Loading

0 comments on commit d572f60

Please sign in to comment.