Skip to content

Commit

Permalink
Wali/support new version of php node go 1786787 (#1955)
Browse files Browse the repository at this point in the history
* versions update of PHP, Node, GO
  • Loading branch information
waliMSFT authored Apr 19, 2023
1 parent 5b10d84 commit 4d23e48
Show file tree
Hide file tree
Showing 38 changed files with 155 additions and 96 deletions.
4 changes: 2 additions & 2 deletions build/__finalStretchVersions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ FINAL_STRETCH_ASPNET_CORE_APP_60_RUN_TIME_VERSION='6.0.6'
FINAL_STRETCH_DOT_NET_70_SDK_VERSION='7.0.100'
FINAL_STRETCH_DOT_NET_CORE_APP_70_RUN_TIME_VERSION='7.0.0'
FINAL_STRETCH_ASPNET_CORE_APP_70_RUN_TIME_VERSION='7.0.0'
FINAL_STRETCH_NODE14_VERSION='14.19.1'
FINAL_STRETCH_NODE16_VERSION='16.14.2'
FINAL_STRETCH_NODE14_VERSION='14.21.3'
FINAL_STRETCH_NODE16_VERSION='16.20.0'
4 changes: 2 additions & 2 deletions build/__golangVersions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ GOLANG17_VERSION='1.17'
GOLANG17_TAR_SHA256='6bf89fc4f5ad763871cf7eac80a2d594492de7a818303283f1366a7f6a30372d'
GOLANG18_VERSION='1.18.10'
GOLANG18_TAR_SHA256='5e05400e4c79ef5394424c0eff5b9141cb782da25f64f79d54c98af0a37f8d49'
GOLANG19_VERSION='1.19.5'
GOLANG19_TAR_SHA256='36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95'
GOLANG19_VERSION='1.19.7'
GOLANG19_TAR_SHA256='7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d'
10 changes: 5 additions & 5 deletions build/__nodeVersions.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.

NODE_RUNTIME_BASE_TAG='20230407.4'
NODE_RUNTIME_BASE_TAG='20230416.1'
YARN_VERSION='1.22.15'
YARN_MINOR_VERSION='1.17'
YARN_MAJOR_VERSION='1'
NODE6_VERSION='6.17.1'
NODE8_VERSION='8.17.0'
NODE10_VERSION='10.23.0'
NODE12_VERSION='12.22.11'
NODE14_VERSION='14.21.2'
NODE16_VERSION='16.19.0'
NODE18_VERSION='18.14.0'
NODE12_VERSION='12.22.12'
NODE14_VERSION='14.21.3'
NODE16_VERSION='16.20.0'
NODE18_VERSION='18.15.0'
NODE_APP_INSIGHTS_SDK_VERSION='1.8.7'
PM2_VERSION='4.5.6'
NPM_VERSION='9.6.4'
16 changes: 8 additions & 8 deletions build/__phpVersions.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.

PHP_RUNTIME_BASE_TAG='20230221.3'
PHP_FPM_RUNTIME_BASE_TAG='20230221.1'
PHP_RUNTIME_BASE_TAG='20230416.1'
PHP_FPM_RUNTIME_BASE_TAG='20230416.1'
COMPOSER_VERSION='2.0.8'
COMPOSER_SETUP_SHA384='55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae'
COMPOSER1_9_VERSION='1.9.3'
COMPOSER1_10_VERSION='1.10.19'
COMPOSER2_0_VERSION='2.0.8'
COMPOSER2_2_VERSION='2.2.9'
COMPOSER2_3_VERSION='2.3.4'
PHP82_VERSION='8.2.2'
PHP82_VERSION='8.2.4'
PHP82_KEYS='1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544'
PHP82_TAR_SHA256='bdc4aa38e652bac86039601840bae01c0c3653972eaa6f9f93d5f71953a7ee33'
PHP81_VERSION='8.1.15'
PHP82_TAR_SHA256='bc7bf4ca7ed0dd17647e3ea870b6f062fcb56b243bfdef3f59ff7f94e96176a8'
PHP81_VERSION='8.1.17'
PHP81_KEYS='528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544'
PHP81_TAR_SHA256='cd450fb4ee50488c5bf5f08851f514e5a1cac18c9512234d9e16c3a1d35781a6'
PHP80_VERSION='8.0.27'
PHP81_TAR_SHA256='b5c48f95b8e1d8624dd05fc2eab7be13277f9a203ccba97bdca5a1a0fb4a1460'
PHP80_VERSION='8.0.28'
PHP80_KEYS='1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F'
PHP80_TAR_SHA256='f942cbfe2f7bacbb8039fb79bbec41c76ea779ac5c8157f21e1e0c1b28a5fc3a'
PHP80_TAR_SHA256='5e07278a1f315a67d36a676c01343ca2d4da5ec5bdb15d018e4248b3012bc0cd'
PHP74_VERSION='7.4.33'
PHP74_KEYS='42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312'
PHP74_TAR_SHA256='924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927'
Expand Down
34 changes: 17 additions & 17 deletions build/constants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
final-stretch-dot-net-70-sdk-version: 7.0.100
final-stretch-dot-net-core-app-70-run-time-version: 7.0.0
final-stretch-aspnet-core-app-70-run-time-version: 7.0.0
final-stretch-node14-version: 14.19.1
final-stretch-node16-version: 16.14.2
final-stretch-node14-version: 14.21.3
final-stretch-node16-version: 16.20.0
outputs:
- type: csharp
directory: src/BuildScriptGenerator
Expand All @@ -127,8 +127,8 @@
golang17-tar-sha256: 6bf89fc4f5ad763871cf7eac80a2d594492de7a818303283f1366a7f6a30372d
golang18-version: 1.18.10
golang18-tar-sha256: 5e05400e4c79ef5394424c0eff5b9141cb782da25f64f79d54c98af0a37f8d49
golang19-version: 1.19.5
golang19-tar-sha256: 36519702ae2fd573c9869461990ae550c8c0d955cd28d2827a6b159fda81ff95
golang19-version: 1.19.7
golang19-tar-sha256: 7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d
outputs:
- type: csharp
directory: src/BuildScriptGenerator
Expand Down Expand Up @@ -163,24 +163,24 @@
file-name-prefix: __
- name: php-versions
constants:
php-runtime-base-tag: 20230221.3
php-fpm-runtime-base-tag: 20230221.1
php-runtime-base-tag: 20230416.1
php-fpm-runtime-base-tag: 20230416.1
composer-version: 2.0.8
composer-setup-sha384: 55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae
composer1-9-version: 1.9.3
composer1-10-version: 1.10.19
composer2-0-version: 2.0.8
composer2-2-version: 2.2.9
composer2-3-version: 2.3.4
php82-version: 8.2.2
php82-version: 8.2.4
php82-keys: 1198C0117593497A5EC5C199286AF1F9897469DC 39B641343D8C104B2B146DC3F9C39DC0B9698544
php82-tar-sha256: bdc4aa38e652bac86039601840bae01c0c3653972eaa6f9f93d5f71953a7ee33
php81-version: 8.1.15
php82-tar-sha256: bc7bf4ca7ed0dd17647e3ea870b6f062fcb56b243bfdef3f59ff7f94e96176a8
php81-version: 8.1.17
php81-keys: 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544
php81-tar-sha256: cd450fb4ee50488c5bf5f08851f514e5a1cac18c9512234d9e16c3a1d35781a6
php80-version: 8.0.27
php81-tar-sha256: b5c48f95b8e1d8624dd05fc2eab7be13277f9a203ccba97bdca5a1a0fb4a1460
php80-version: 8.0.28
php80-keys: 1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F
php80-tar-sha256: f942cbfe2f7bacbb8039fb79bbec41c76ea779ac5c8157f21e1e0c1b28a5fc3a
php80-tar-sha256: 5e07278a1f315a67d36a676c01343ca2d4da5ec5bdb15d018e4248b3012bc0cd
php74-version: 7.4.33
php74-keys: 42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
php74-tar-sha256: 924846abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927
Expand Down Expand Up @@ -273,17 +273,17 @@
directory: src/startupscriptgenerator/src/common/consts
- name: node-versions
constants:
node-runtime-base-tag: 20230407.4
node-runtime-base-tag: 20230416.1
yarn-version: 1.22.15
yarn-minor-version: 1.17
yarn-major-version: 1
node6-version: 6.17.1
node8-version: 8.17.0
node10-version: 10.23.0
node12-version: 12.22.11
node14-version: 14.21.2
node16-version: 16.19.0
node18-version: 18.14.0
node12-version: 12.22.12
node14-version: 14.21.3
node16-version: 16.20.0
node18-version: 18.15.0
node-app-insights-sdk-version: 1.8.7
pm2-version: 4.5.6
npm-version: 9.6.4
Expand Down
28 changes: 28 additions & 0 deletions doc/supportedPlatformVersions.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
- 1.19
- 1.19.3
- 1.19.5
- 1.19.7

### buster

Expand All @@ -320,6 +321,7 @@
- 1.19
- 1.19.3
- 1.19.5
- 1.19.7

### focal-scm

Expand All @@ -333,6 +335,7 @@
- 1.19
- 1.19.3
- 1.19.5
- 1.19.7

### stretch

Expand Down Expand Up @@ -453,6 +456,7 @@
- 12.22.6
- 12.22.9
- 12.22.11
- 12.22.12
- 14.15.0
- 14.15.1
- 14.16.0
Expand All @@ -463,6 +467,7 @@
- 14.19.1
- 14.20.1
- 14.21.2
- 14.21.3
- 16.5.0
- 16.6.1
- 16.8.0
Expand All @@ -472,12 +477,14 @@
- 16.14.2
- 16.18.0
- 16.19.0
- 16.20.0
- 18.0.0
- 18.1.0
- 18.2.0
- 18.12.0
- 18.12.1
- 18.14.0
- 18.15.0

### buster

Expand All @@ -491,6 +498,7 @@
- 12.22.6
- 12.22.9
- 12.22.11
- 12.22.12
- 14.15.0
- 14.15.1
- 14.16.0
Expand All @@ -501,6 +509,7 @@
- 14.19.1
- 14.20.1
- 14.21.2
- 14.21.3
- 15.0.0
- 15.0.1
- 15.1.0
Expand All @@ -516,6 +525,7 @@
- 16.14.2
- 16.18.0
- 16.19.0
- 16.20.0
- 17.0.1
- 17.1.0
- 17.2.0
Expand All @@ -536,6 +546,7 @@
- 12.22.6
- 12.22.9
- 12.22.11
- 12.22.12
- 14.15.0
- 14.15.1
- 14.16.0
Expand All @@ -546,6 +557,7 @@
- 14.19.1
- 14.20.1
- 14.21.2
- 14.21.3
- 15.0.0
- 15.0.1
- 15.1.0
Expand All @@ -561,6 +573,7 @@
- 16.14.2
- 16.18.0
- 16.19.0
- 16.20.0
- 17.0.1
- 17.1.0
- 17.2.0
Expand Down Expand Up @@ -637,6 +650,7 @@
- 12.22.6
- 12.22.9
- 12.22.11
- 12.22.12
- 13.9.0
- 14.0.0
- 14.1.0
Expand All @@ -663,6 +677,7 @@
- 14.17.6
- 14.18.3
- 14.19.1
- 14.21.3
- 15.0.0
- 15.0.1
- 15.1.0
Expand All @@ -676,6 +691,7 @@
- 16.13.2
- 16.14.0
- 16.14.2
- 16.20.0
- 17.0.1
- 17.1.0
- 17.2.0
Expand Down Expand Up @@ -846,16 +862,19 @@
- 8.0.22
- 8.0.25
- 8.0.27
- 8.0.28
- 8.1.0
- 8.1.4
- 8.1.6
- 8.1.9
- 8.1.12
- 8.1.14
- 8.1.15
- 8.1.17
- 8.2.0
- 8.2.1
- 8.2.2
- 8.2.4

### buster

Expand Down Expand Up @@ -886,16 +905,19 @@
- 8.0.22
- 8.0.25
- 8.0.27
- 8.0.28
- 8.1.0
- 8.1.4
- 8.1.6
- 8.1.9
- 8.1.12
- 8.1.14
- 8.1.15
- 8.1.17
- 8.2.0
- 8.2.1
- 8.2.2
- 8.2.4

### focal-scm

Expand Down Expand Up @@ -926,16 +948,19 @@
- 8.0.22
- 8.0.25
- 8.0.27
- 8.0.28
- 8.1.0
- 8.1.4
- 8.1.6
- 8.1.9
- 8.1.12
- 8.1.14
- 8.1.15
- 8.1.17
- 8.2.0
- 8.2.1
- 8.2.2
- 8.2.4

### stretch

Expand Down Expand Up @@ -976,15 +1001,18 @@
- 8.0.21
- 8.0.22
- 8.0.27
- 8.0.28
- 8.1.0
- 8.1.4
- 8.1.6
- 8.1.9
- 8.1.14
- 8.1.15
- 8.1.17
- 8.2.0
- 8.2.1
- 8.2.2
- 8.2.4



Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php-fpm/8.0/8.0.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 1729F83938DA44E27BA0F4D3DBDB397470D12172 BFDDD28642824F8118EF77909B67A5C12229118F 2C16C765DBE54A088130F1BC4B9B5F600B55F3B4


ENV PHP_VERSION 8.0.27
ENV PHP_URL="https://www.php.net/get/php-8.0.27.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.0.27.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="f942cbfe2f7bacbb8039fb79bbec41c76ea779ac5c8157f21e1e0c1b28a5fc3a" PHP_MD5=""
ENV PHP_VERSION 8.0.28
ENV PHP_URL="https://www.php.net/get/php-8.0.28.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.0.28.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="5e07278a1f315a67d36a676c01343ca2d4da5ec5bdb15d018e4248b3012bc0cd" PHP_MD5=""

RUN set -eux; \
\
Expand Down
6 changes: 3 additions & 3 deletions images/runtime/php-fpm/8.1/8.1.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.15
ENV PHP_URL="https://www.php.net/get/php-8.1.15.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.15.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="cd450fb4ee50488c5bf5f08851f514e5a1cac18c9512234d9e16c3a1d35781a6" PHP_MD5=""
ENV PHP_VERSION 8.1.17
ENV PHP_URL="https://www.php.net/get/php-8.1.17.tar.xz/from/this/mirror" PHP_ASC_URL="https://www.php.net/get/php-8.1.17.tar.xz.asc/from/this/mirror"
ENV PHP_SHA256="b5c48f95b8e1d8624dd05fc2eab7be13277f9a203ccba97bdca5a1a0fb4a1460" PHP_MD5=""

RUN set -eux; \
\
Expand Down
4 changes: 2 additions & 2 deletions 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
SHELL ["/bin/bash", "-c"]
ENV PHP_VERSION 8.1.15
ENV PHP_VERSION 8.1.17

# 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 Expand Up @@ -98,7 +98,7 @@ RUN set -eux; \
# - https://docs.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac
# - https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server
RUN set -eux; \
if [[ $PHP_VERSION == 7.4.* || $PHP_VERSION == 8.* ]]; then \
if [[ $PHP_VERSION == 8.* ]]; then \
pecl install sqlsrv pdo_sqlsrv \
&& echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/30-pdo_sqlsrv.ini \
&& echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/20-sqlsrv.ini; \
Expand Down
Loading

0 comments on commit 4d23e48

Please sign in to comment.