Skip to content

Commit

Permalink
Release standard:6.0 and amazonlinux2-x86_64-standard:4.0 (#543)
Browse files Browse the repository at this point in the history
* Release standard:6.0 and amazonlinux2-x86_64-standard:4.0
  • Loading branch information
Dylan-AWS authored Jul 1, 2022
1 parent 2dea17b commit 4655a77
Show file tree
Hide file tree
Showing 46 changed files with 1,612 additions and 0 deletions.
366 changes: 366 additions & 0 deletions al2/x86_64/standard/4.0/Dockerfile

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions al2/x86_64/standard/4.0/runtimes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
version: 0.1

runtimes:
java:
versions:
corretto17:
commands:
- echo "Installing corretto(OpenJDK) version 17 ..."

- export JAVA_HOME="$JAVA_17_HOME"

- export JRE_HOME="$JRE_17_HOME"

- export JDK_HOME="$JDK_17_HOME"

- |-
for tool_path in "$JAVA_HOME"/bin/*;
do tool=`basename "$tool_path"`;
if [ $tool != 'java-rmi.cgi' ];
then
rm -f /usr/bin/$tool /var/lib/alternatives/$tool \
&& update-alternatives --install /usr/bin/$tool $tool $tool_path 20000;
fi;
done
golang:
versions:
1.18:
commands:
- echo "Installing Go version 1.18 ..."
- goenv global $GOLANG_18_VERSION
python:
versions:
3.9:
commands:
- echo "Installing Python version 3.9 ..."
- pyenv global $PYTHON_39_VERSION
php:
versions:
8.1:
commands:
- echo "Installing PHP version 8.1 ..."
- phpenv global $PHP_81_VERSION
ruby:
versions:
3.1:
commands:
- echo "Installing Ruby version 3.1 ..."
- rbenv global $RUBY_31_VERSION
nodejs:
versions:
16:
commands:
- echo "Installing Node.js version 16 ..."
- n $NODE_16_VERSION
docker:
versions:
20:
commands:
- echo "Specifying docker version in buildspec is deprecated. Using docker $DOCKER_VERSION"
dotnet:
versions:
6.0:
commands:
- echo "Installing .NET version 6.0 ..."
File renamed without changes.
17 changes: 17 additions & 0 deletions al2/x86_64/standard/4.0/tools/runtime_configs/php/8.1.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
configure_option "--with-curl"
configure_option "--with-password-argon2"
configure_option "--with-pdo-pgsql"
configure_option "--with-libedit"

PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"

#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.6
#Don't change beyond this line

configure_option "--enable-gd"
configure_option "--with-jpeg"
configure_option "--with-zip"

install_package "https://secure.php.net/distributions/php-8.1.6.tar.bz2"
install_xdebug "3.1.3"
enable_builtin_opcache
17 changes: 17 additions & 0 deletions al2/x86_64/standard/4.0/tools/runtime_configs/python/3.7.13
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export PYTHON_CONFIGURE_OPTS="\
--enable-shared
--enable-loadable-sqlite-extensions"

# Don't change below this line.
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.13

#require_gcc
prefer_openssl11
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" mac_openssl --if has_broken_mac_openssl
install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline
if has_tar_xz_support; then
install_package "Python-3.7.13" "https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tar.xz#99f106275df8899c3e8cb9d7c01ce686c202ef275953301427194693de5bef84" standard verify_py37 copy_python_gdb ensurepip
else
install_package "Python-3.7.13" "https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgz#e405417f50984bc5870c7e7a9f9aeb93e9d270f5ac67f667a0cd3a09439682b5" standard verify_py37 copy_python_gdb ensurepip
fi
17 changes: 17 additions & 0 deletions al2/x86_64/standard/4.0/tools/runtime_configs/python/3.8.13
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export PYTHON_CONFIGURE_OPTS="\
--enable-shared
--enable-loadable-sqlite-extensions"

# Don't change below this line.
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.13

#require_gcc
prefer_openssl11
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" mac_openssl --if has_broken_mac_openssl
install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline
if has_tar_xz_support; then
install_package "Python-3.8.13" "https://www.python.org/ftp/python/3.8.13/Python-3.8.13.tar.xz#6f309077012040aa39fe8f0c61db8c0fa1c45136763299d375c9e5756f09cf57" standard verify_py38 copy_python_gdb ensurepip
else
install_package "Python-3.8.13" "https://www.python.org/ftp/python/3.8.13/Python-3.8.13.tgz#903b92d76354366b1d9c4434d0c81643345cef87c1600adfa36095d7b00eede4" standard verify_py38 copy_python_gdb ensurepip
fi
17 changes: 17 additions & 0 deletions al2/x86_64/standard/4.0/tools/runtime_configs/python/3.9.12
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export PYTHON_CONFIGURE_OPTS="\
--enable-shared
--enable-loadable-sqlite-extensions"

# Don't change below this line.
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.12

#require_gcc
prefer_openssl11
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" mac_openssl --if has_broken_mac_openssl
install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline
if has_tar_xz_support; then
install_package "Python-3.9.12" "https://www.python.org/ftp/python/3.9.12/Python-3.9.12.tar.xz#2cd94b20670e4159c6d9ab57f91dbf255b97d8c1a1451d1c35f4ec1968adf971" standard verify_py39 copy_python_gdb ensurepip
else
install_package "Python-3.9.12" "https://www.python.org/ftp/python/3.9.12/Python-3.9.12.tgz#70e08462ebf265012bd2be88a63d2149d880c73e53f1712b7bbbe93750560ae8" standard verify_py39 copy_python_gdb ensurepip
fi
Loading

0 comments on commit 4655a77

Please sign in to comment.