Skip to content

Commit 211ddf6

Browse files
authored
Merge pull request #697 from Dylan-AWS/master
Update arm 3.0 image with latest runtimes
2 parents 2ddee3f + 74bee42 commit 211ddf6

File tree

9 files changed

+314
-95
lines changed

9 files changed

+314
-95
lines changed

al2/aarch64/standard/3.0/Dockerfile

+167-74
Large diffs are not rendered by default.

al2/aarch64/standard/3.0/legal/bill_of_material.txt

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ fakeroot : GPLv3+ and LGPLv2+ and (GPL+ or Artistic)
3535
----------------
3636
glib2-devel : LGPLv2+
3737
----------------
38+
git-lfs : /usr/share/doc/git-lfs/copyright
39+
----------------
3840
groff : GPLv3+ and GFDL and BSD and MIT
3941
----------------
4042
gzip : GPLv3+ and GFDL

al2/aarch64/standard/3.0/runtimes.yml

+52-3
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,65 @@ runtimes:
2222
&& update-alternatives --install /usr/bin/$tool $tool $tool_path 20000;
2323
fi;
2424
done
25+
- export GRADLE_VERSION=$GRADLE_80_VERSION
26+
- unlink /usr/bin/gradle
27+
- ln -s /usr/local/gradle-$GRADLE_80_VERSION/bin/gradle /usr/bin/gradle
28+
corretto21:
29+
commands:
30+
- echo "Installing corretto (OpenJDK) version 21 ..."
31+
32+
- export JAVA_HOME="$JAVA_21_HOME"
33+
34+
- export JRE_HOME="$JRE_21_HOME"
35+
36+
- export JDK_HOME="$JDK_21_HOME"
37+
38+
- |-
39+
for tool_path in "$JAVA_HOME"/bin/*;
40+
do tool=`basename "$tool_path"`;
41+
if [ $tool != 'java-rmi.cgi' ];
42+
then
43+
rm -f /usr/bin/$tool /var/lib/alternatives/$tool \
44+
&& update-alternatives --install /usr/bin/$tool $tool $tool_path 20000;
45+
fi;
46+
done
47+
- export GRADLE_VERSION=$GRADLE_85_VERSION
48+
- unlink /usr/bin/gradle
49+
- ln -s /usr/local/gradle-$GRADLE_85_VERSION/bin/gradle /usr/bin/gradle
2550
golang:
2651
versions:
2752
1.20:
2853
commands:
2954
- echo "Installing Go version 1.20 ..."
30-
- rm -rf /usr/local/go
31-
- ln -s /usr/local/go12 /usr/local/go
55+
- goenv global $GOLANG_20_VERSION
56+
1.21:
57+
commands:
58+
- echo "Installing Go version 1.21 ..."
59+
- goenv global $GOLANG_21_VERSION
3260
python:
3361
versions:
3462
3.11:
3563
commands:
3664
- echo "Installing Python version 3.11 ..."
37-
- pyenv global $PYTHON_311_VERSION
65+
- pyenv global $PYTHON_311_VERSION
66+
3.12:
67+
commands:
68+
- echo "Installing Python version 3.12 ..."
69+
- pyenv global $PYTHON_312_VERSION
3870
php:
3971
versions:
4072
8.1:
4173
commands:
4274
- echo "Installing PHP version 8.1 ..."
4375
- phpenv global $PHP_81_VERSION
76+
8.2:
77+
commands:
78+
- echo "Installing PHP version 8.2 ..."
79+
- phpenv global $PHP_82_VERSION
80+
8.3:
81+
commands:
82+
- echo "Installing PHP version 8.3 ..."
83+
- phpenv global $PHP_83_VERSION
4484
ruby:
4585
versions:
4686
3.2:
@@ -53,6 +93,10 @@ runtimes:
5393
commands:
5494
- echo "Installing Node.js version 18 ..."
5595
- n $NODE_18_VERSION
96+
20:
97+
commands:
98+
- echo "Installing Node.js version 20 ..."
99+
- n $NODE_20_VERSION
56100
docker:
57101
versions:
58102
23:
@@ -63,3 +107,8 @@ runtimes:
63107
6.0:
64108
commands:
65109
- echo "Installing .NET version 6.0 ..."
110+
- test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --force --sdk-version $DOTNET_6_GLOBAL_JSON_SDK_VERSION --roll-forward feature
111+
8.0:
112+
commands:
113+
- echo "Installing .NET version 8.0 ..."
114+
- test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --force --sdk-version $DOTNET_8_GLOBAL_JSON_SDK_VERSION --roll-forward feature
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
configure_option "--with-curl"
2+
configure_option "--with-password-argon2"
3+
configure_option "--with-pdo-pgsql"
4+
configure_option "--with-libedit"
5+
6+
PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"
7+
8+
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.26
9+
#Don't change beyond this line
10+
11+
configure_option "--enable-gd"
12+
configure_option "--with-jpeg"
13+
configure_option "--with-zip"
14+
configure_option "--with-mhash"
15+
16+
configure_option -D "--with-xmlrpc"
17+
18+
install_package "https://www.php.net/distributions/php-8.1.26.tar.bz2"
19+
install_xdebug "3.3.1"
20+
enable_builtin_opcache
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
configure_option "--with-curl"
2+
configure_option "--with-password-argon2"
3+
configure_option "--with-pdo-pgsql"
4+
configure_option "--with-libedit"
5+
6+
PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"
7+
8+
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.2.13
9+
#Don't change beyond this line
10+
11+
configure_option "--enable-gd"
12+
configure_option "--with-jpeg"
13+
configure_option "--with-zip"
14+
configure_option "--with-mhash"
15+
16+
configure_option -D "--with-xmlrpc"
17+
18+
install_package "https://www.php.net/distributions/php-8.2.13.tar.bz2"
19+
install_xdebug "3.3.1"
20+
enable_builtin_opcache
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
configure_option "--with-curl"
2+
configure_option "--with-password-argon2"
3+
configure_option "--with-pdo-pgsql"
4+
configure_option "--with-libedit"
5+
6+
PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"
7+
8+
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.3.0
9+
#Don't change beyond this line
10+
11+
configure_option "--enable-gd"
12+
configure_option "--with-jpeg"
13+
configure_option "--with-zip"
14+
configure_option "--with-mhash"
15+
16+
configure_option -D "--with-xmlrpc"
17+
18+
install_package "https://www.php.net/distributions/php-8.3.0.tar.bz2"
19+
install_xdebug "3.3.1"
20+
enable_builtin_opcache

al2/aarch64/standard/3.0/tools/runtime_configs/python/3.11.2

-18
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
export PYTHON_CONFIGURE_OPTS="\
2+
--enable-shared
3+
--enable-loadable-sqlite-extensions"
4+
5+
# Don't change below this line.
6+
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.11.7
7+
8+
prefer_openssl3
9+
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
10+
export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
11+
install_package "openssl-3.2.0" "https://www.openssl.org/source/openssl-3.2.0.tar.gz#14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e" mac_openssl --if has_broken_mac_openssl
12+
install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline
13+
if has_tar_xz_support; then
14+
install_package "Python-3.11.7" "https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tar.xz#18e1aa7e66ff3a58423d59ed22815a6954e53342122c45df20c96877c062b9b7" standard verify_py311 copy_python_gdb ensurepip
15+
else
16+
install_package "Python-3.11.7" "https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz#068c05f82262e57641bd93458dfa883128858f5f4997aad7a36fd25b13b29209" standard verify_py311 copy_python_gdb ensurepip
17+
fi
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export PYTHON_CONFIGURE_OPTS="\
2+
--enable-shared
3+
--enable-loadable-sqlite-extensions"
4+
5+
# Don't change below this line.
6+
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.12.1
7+
8+
prefer_openssl3
9+
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
10+
install_package "openssl-3.1.2" "https://www.openssl.org/source/openssl-3.1.2.tar.gz#a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" mac_openssl --if has_broken_mac_openssl
11+
install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline
12+
if has_tar_xz_support; then
13+
install_package "Python-3.12.1" "https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tar.xz#8dfb8f426fcd226657f9e2bd5f1e96e53264965176fa17d32658e873591aeb21" standard verify_py312 copy_python_gdb ensurepip
14+
else
15+
install_package "Python-3.12.1" "https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tgz#d01ec6a33bc10009b09c17da95cc2759af5a580a7316b3a446eb4190e13f97b2" standard verify_py312 copy_python_gdb ensurepip
16+
fi

0 commit comments

Comments
 (0)