Skip to content

Commit d572f60

Browse files
kumaraksh1root
andauthored
Add support for PHP|8.1.27 and PHP|8.2.14 (#2339)
* 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 <[email protected]>
1 parent 8bdf0ef commit d572f60

26 files changed

+80
-64
lines changed

build/__phpVersions.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.
22

3-
PHP_RUNTIME_BASE_TAG='20231003.1'
4-
PHP_FPM_RUNTIME_BASE_TAG='20231003.1'
3+
PHP_RUNTIME_BASE_TAG='20240116.2'
4+
PHP_FPM_RUNTIME_BASE_TAG='20240116.2'
55
COMPOSER_DEFAULT_VERSION='2.0.8'
66
COMPOSER_SETUP_SHA384='e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02'
77
COMPOSER1_9_VERSION='1.9.3'
@@ -12,12 +12,12 @@ COMPOSER2_3_VERSION='2.3.10'
1212
COMPOSER2_4_VERSION='2.4.4'
1313
COMPOSER2_5_VERSION='2.5.8'
1414
COMPOSER2_6_VERSION='2.6.2'
15-
PHP82_VERSION='8.2.9'
15+
PHP82_VERSION='8.2.14'
1616
PHP82_KEYS='1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544'
17-
PHP82_TAR_SHA256='1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765'
18-
PHP81_VERSION='8.1.22'
17+
PHP82_TAR_SHA256='763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583'
18+
PHP81_VERSION='8.1.27'
1919
PHP81_KEYS='528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544'
20-
PHP81_TAR_SHA256='9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d'
20+
PHP81_TAR_SHA256='479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658'
2121
PHP80_VERSION='8.0.30'
2222
PHP80_KEYS='1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F'
2323
PHP80_TAR_SHA256='216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9'

build/constants.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@
185185
file-name-prefix: __
186186
- name: php-versions
187187
constants:
188-
php-runtime-base-tag: 20231003.1
189-
php-fpm-runtime-base-tag: 20231003.1
188+
php-runtime-base-tag: 20240116.2
189+
php-fpm-runtime-base-tag: 20240116.2
190190
composer-default-version: 2.0.8
191191
composer-setup-sha384: e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02
192192
composer1-9-version: 1.9.3
@@ -197,12 +197,12 @@
197197
composer2-4-version: 2.4.4
198198
composer2-5-version: 2.5.8
199199
composer2-6-version: 2.6.2
200-
php82-version: 8.2.9
200+
php82-version: 8.2.14
201201
php82-keys: 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544
202-
php82-tar-sha256: 1e6cb77f997613864ab3127fbfc6a8c7fdaa89a95e8ed6167617b913b4de4765
203-
php81-version: 8.1.22
202+
php82-tar-sha256: 763ecd39fcf51c3815af6ef6e43fa9aa0d0bd8e5a615009e5f4780c92705f583
203+
php81-version: 8.1.27
204204
php81-keys: 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544
205-
php81-tar-sha256: 9ea4f4cfe775cb5866c057323d6b320f3a6e0adb1be41a068ff7bfec6f83e71d
205+
php81-tar-sha256: 479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658
206206
php80-version: 8.0.30
207207
php80-keys: 1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F
208208
php80-tar-sha256: 216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9

doc/supportedPlatformVersions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,7 @@
10331033
- 8.1.20
10341034
- 8.1.21
10351035
- 8.1.22
1036+
- 8.1.27
10361037
- 8.2.0
10371038
- 8.2.1
10381039
- 8.2.2
@@ -1042,6 +1043,7 @@
10421043
- 8.2.7
10431044
- 8.2.8
10441045
- 8.2.9
1046+
- 8.2.14
10451047

10461048
### buster
10471049

@@ -1088,6 +1090,7 @@
10881090
- 8.1.20
10891091
- 8.1.21
10901092
- 8.1.22
1093+
- 8.1.27
10911094
- 8.2.0
10921095
- 8.2.1
10931096
- 8.2.2
@@ -1097,6 +1100,7 @@
10971100
- 8.2.7
10981101
- 8.2.8
10991102
- 8.2.9
1103+
- 8.2.14
11001104

11011105
### focal-scm
11021106

@@ -1143,6 +1147,7 @@
11431147
- 8.1.20
11441148
- 8.1.21
11451149
- 8.1.22
1150+
- 8.1.27
11461151
- 8.2.0
11471152
- 8.2.1
11481153
- 8.2.2
@@ -1152,6 +1157,7 @@
11521157
- 8.2.7
11531158
- 8.2.8
11541159
- 8.2.9
1160+
- 8.2.14
11551161

11561162
### stretch
11571163

@@ -1207,6 +1213,7 @@
12071213
- 8.1.20
12081214
- 8.1.21
12091215
- 8.1.22
1216+
- 8.1.27
12101217
- 8.2.0
12111218
- 8.2.1
12121219
- 8.2.2
@@ -1216,6 +1223,7 @@
12161223
- 8.2.7
12171224
- 8.2.8
12181225
- 8.2.9
1226+
- 8.2.14
12191227

12201228

12211229

images/build/Dockerfiles/azureFunctions.JamStack.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR \
1717
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
1818
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
1919
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
20-
&& 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 \
21-
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
20+
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
21+
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
2222
fi
2323

2424
ENV DEBIAN_FRONTEND=noninteractive

images/build/Dockerfiles/cli.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR
1010
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
1111
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
1212
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
13-
&& 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 \
14-
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
13+
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
14+
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
1515
fi
1616

1717
COPY --from=oryxdevmcr.azurecr.io/private/oryx/buildscriptgenerator /opt/buildscriptgen/ /opt/buildscriptgen/

images/build/Dockerfiles/cliBuilder.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR
1010
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
1111
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
1212
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
13-
&& 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 \
14-
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
13+
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
14+
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
1515
fi
1616

1717
COPY --from=oryxdevmcr.azurecr.io/private/oryx/buildscriptgenerator /opt/buildscriptgen/ /opt/buildscriptgen/

images/build/Dockerfiles/gitHubActions.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ENV DEBIAN_FLAVOR=$DEBIAN_FLAVOR
66
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
77
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
88
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
9-
&& 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 \
10-
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
9+
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
10+
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
1111
fi
1212

1313
# Install basic build tools

images/build/Dockerfiles/ltsVersions.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ENV DEBIAN_FLAVOR="stretch"
55
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
66
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
77
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
8-
&& 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 \
9-
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
8+
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
9+
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
1010
fi
1111

1212
# Install basic build tools

images/build/Dockerfiles/vso.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ENV ORYX_PREFER_USER_INSTALLED_SDKS=true \
1616
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
1717
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
1818
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
19-
&& 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 \
20-
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/g' /etc/apt/sources.list ; \
19+
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
20+
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
2121
fi
2222

2323
COPY --from=oryxdevmcr.azurecr.io/private/oryx/support-files-image-for-build /tmp/oryx/ /opt/tmp

images/build/php/prereqs/installPrereqs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ apt-get update \
3434

3535
##<argon2>##
3636
sed -e 's/# deb http:\/\/deb.debian.org\/debian stretch-updates/deb http:\/\/deb.debian.org\/debian stretch-updates/g' \
37-
-e 's/deb http:\/\/archive.kernel.org\/debian-archive\/debian stretch/deb http:\/\/deb.debian.org\/debian stretch/g' \
38-
-e 's/deb http:\/\/archive.kernel.org\/debian-archive\/debian-security stretch/deb http:\/\/security.debian.org\/debian-security stretch/g' \
37+
-e 's/deb http:\/\/archive.debian.org\/debian stretch/deb http:\/\/deb.debian.org\/debian stretch/g' \
38+
-e 's/deb http:\/\/archive.debian.org\/debian-security stretch/deb http:\/\/security.debian.org\/debian-security stretch/g' \
3939
-e 's/stretch/buster/g' /etc/apt/sources.list > /etc/apt/sources.list.d/buster.list;
4040
{ \
4141
echo 'Package: *';

0 commit comments

Comments
 (0)