diff --git a/al2/x86_64/standard/3.0/Dockerfile b/al2/x86_64/standard/3.0/Dockerfile index 80cb8a18..55c98f0f 100644 --- a/al2/x86_64/standard/3.0/Dockerfile +++ b/al2/x86_64/standard/3.0/Dockerfile @@ -96,9 +96,9 @@ RUN set -ex \ # Install stunnel RUN set -ex \ - && STUNNEL_VERSION=5.56 \ + && STUNNEL_VERSION=5.64 \ && STUNNEL_TAR=stunnel-$STUNNEL_VERSION.tar.gz \ - && STUNNEL_SHA256="7384bfb356b9a89ddfee70b5ca494d187605bb516b4fff597e167f97e2236b22" \ + && STUNNEL_SHA256="eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883" \ && curl -o $STUNNEL_TAR https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/$STUNNEL_TAR && echo "$STUNNEL_SHA256 $STUNNEL_TAR" | sha256sum --check && tar xfz $STUNNEL_TAR \ && cd stunnel-$STUNNEL_VERSION \ && ./configure \ @@ -111,15 +111,15 @@ RUN set -ex \ # AWS Tools # https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html -RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/aws-iam-authenticator \ - && curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/kubectl \ +RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.22.6/2022-03-09/bin/linux/amd64/aws-iam-authenticator \ + && curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.22.6/2022-03-09/bin/linux/amd64/kubectl \ && curl -sS -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest \ && curl -sS -L https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz | tar xz -C /usr/local/bin \ && chmod +x /usr/local/bin/kubectl /usr/local/bin/aws-iam-authenticator /usr/local/bin/ecs-cli /usr/local/bin/eksctl # Configure SSM RUN set -ex \ - && yum install -y -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.0.1390.0/linux_amd64/amazon-ssm-agent.rpm + && yum install -y -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.1.1374.0/linux_amd64/amazon-ssm-agent.rpm # Install env tools for runtimes ## Dotnet @@ -172,12 +172,12 @@ ENV JAVA_11_HOME="/usr/lib/jvm/java-11-amazon-corretto.x86_64" \ JAVA_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64" \ JDK_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64" \ JRE_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre" \ - ANT_VERSION=1.10.8 \ + ANT_VERSION=1.10.12 \ MAVEN_HOME="/opt/maven" \ MAVEN_VERSION=3.6.3 \ INSTALLED_GRADLE_VERSIONS="4.10.3 5.6.4" \ GRADLE_VERSION=5.6.4 \ - SBT_VERSION=1.6.1 \ + SBT_VERSION=1.6.2 \ ANDROID_HOME="/usr/local/android-sdk-linux" \ GRADLE_PATH="$SRC_DIR/gradle" \ ANDROID_SDK_MANAGER_VER="4333796" \ @@ -186,11 +186,11 @@ ENV JAVA_11_HOME="/usr/lib/jvm/java-11-amazon-corretto.x86_64" \ ANDROID_SDK_BUILD_TOOLS_28="build-tools;28.0.3" \ ANDROID_SDK_PLATFORM_TOOLS_28="platforms;android-28" \ ANDROID_SDK_EXTRAS="extras;android;m2repository extras;google;m2repository extras;google;google_play_services" \ - ANT_DOWNLOAD_SHA512="4d80dc6ba23eeec7769085ddb00261b7480b596b56c6e69aa221391acbfb7338eb5855179c88222c8021095ef1f64f43caf2b4f90e8305d7c3128026d4258d06" \ + ANT_DOWNLOAD_SHA512="2287dc5cfc21043c14e5413f9afb1c87c9f266ec2a9ba2d3bf2285446f6e4ccb59b558bf2e5c57911a05dfa293c7d5c7ad60ac9f744ba11406f4e6f9a27b2403" \ MAVEN_DOWNLOAD_SHA512="c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0" \ GRADLE_DOWNLOADS_SHA256="abc10bcedb58806e8654210f96031db541bcd2d6fc3161e81cb0572d6a15e821 5.6.4\n336b6898b491f6334502d8074a6b8c2d73ed83b92123106bd4bf837f04111043 4.10.3" \ ANDROID_SDK_MANAGER_SHA256="92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9" \ - SBT_DOWNLOAD_SHA256="60286bf1b875b31e2955f8a699888cd2612e9afd94d03cde0a2e71efd7492ffc" \ + SBT_DOWNLOAD_SHA256="637637b6c4e6fa04ab62cd364061e32b12480b09001cd23303df62b36fadd440" \ LOG4J_UNSAFE_VERSIONS="2.11.1 1.2.8" ARG MAVEN_CONFIG_HOME="/root/.m2" @@ -231,7 +231,7 @@ RUN set -x \ update-alternatives --install /usr/bin/$tool $tool $tool_path 10000; \ update-alternatives --set $tool $tool_path; \ done \ - && rm $JAVA_HOME/lib/security/cacerts && ln -s /etc/pki/java/cacerts $JAVA_HOME/lib/security/cacerts \ + && rm $JAVA_HOME/lib/security/cacerts && ln -s /etc/pki/java/cacerts $JAVA_HOME/lib/security/cacerts \ # Install Ant && curl -LSso /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz https://archive.apache.org/dist/ant/binaries/apache-ant-$ANT_VERSION-bin.tar.gz \ && echo "$ANT_DOWNLOAD_SHA512 /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz" | sha512sum -c - \ @@ -306,7 +306,7 @@ ENV NODE_10_VERSION="10.24.1" RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ && curl -sSL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \ && rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg \ - && yum install -y https://download-ib01.fedoraproject.org/pub/epel/8/Modular/x86_64/Packages/l/libuv-1.43.0-2.module_el8+13774+f8c1f5a5.x86_64.rpm \ + && yum install -y https://download-ib01.fedoraproject.org/pub/epel/8/Modular/x86_64/Packages/l/libuv-1.43.0-2.module_el8+13804+34326f90.x86_64.rpm \ && yum install -y -q yarn \ && yarn --version \ && cd / && rm -rf $N_SRC_DIR && rm -rf /tmp/* @@ -315,14 +315,14 @@ RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install --s #**************** RUBY ********************************************************* -ENV RUBY_26_VERSION="2.6.6" +ENV RUBY_26_VERSION="2.6.10" RUN rbenv install $RUBY_26_VERSION && rm -rf /tmp/* && rbenv global $RUBY_26_VERSION && ruby -v #**************** END RUBY ***************************************************** #**************** PYTHON ***************************************************** -ENV PYTHON_37_VERSION="3.7.10" +ENV PYTHON_37_VERSION="3.7.13" ENV PYTHON_PIP_VERSION=21.1.2 ENV PYYAML_VERSION=5.4.1 @@ -337,7 +337,7 @@ RUN set -ex \ #**************** END PYTHON ***************************************************** #**************** PHP **************************************************** -ENV PHP_73_VERSION="7.3.19" +ENV PHP_73_VERSION="7.3.33" COPY tools/runtime_configs/php/$PHP_73_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_73_VERSION RUN phpenv install $PHP_73_VERSION && rm -rf /tmp/* && phpenv global $PHP_73_VERSION @@ -370,8 +370,8 @@ ENV DOCKER_BUCKET="download.docker.com" \ DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \ DOCKER_COMPOSE_VERSION="1.26.0" -ENV DOCKER_SHA256="dd6ff72df1edfd61ae55feaa4aadb88634161f0aa06dbaaf291d1be594099ff3" -ENV DOCKER_VERSION="20.10.11" +ENV DOCKER_SHA256="9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070" +ENV DOCKER_VERSION="20.10.15" VOLUME /var/lib/docker @@ -392,7 +392,7 @@ RUN set -ex \ && docker-compose version #Python 3.8 -ENV PYTHON_38_VERSION="3.8.10" +ENV PYTHON_38_VERSION="3.8.13" COPY tools/runtime_configs/python/$PYTHON_38_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_38_VERSION RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_38_VERSION && rm -rf /tmp/* @@ -403,7 +403,7 @@ RUN set -ex \ && pip3 install --no-cache-dir --upgrade 'setuptools==57.4.0' wheel aws-sam-cli awscli boto3 pipenv virtualenv --use-feature=2020-resolver #Python 3.9 -ENV PYTHON_39_VERSION="3.9.5" +ENV PYTHON_39_VERSION="3.9.12" COPY tools/runtime_configs/python/$PYTHON_39_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_39_VERSION RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_39_VERSION && rm -rf /tmp/* @@ -414,7 +414,7 @@ RUN set -ex \ && pip3 install --no-cache-dir --upgrade 'setuptools==57.4.0' wheel aws-sam-cli awscli boto3 pipenv virtualenv --use-feature=2020-resolver # Node 12 -ENV NODE_12_VERSION="12.22.2" +ENV NODE_12_VERSION="12.22.12" RUN n $NODE_12_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ && rm -rf /tmp/* @@ -423,9 +423,10 @@ RUN n $NODE_12_VERSION && npm install --save-dev -g -f grunt && npm install --s FROM runtimes_2 AS runtimes_3 #DotNet 3.1 -ENV DOTNET_31_SDK_VERSION="3.1.301" +ENV DOTNET_31_SDK_VERSION="3.1.419" ENV DOTNET_ROOT="/root/.dotnet" +# Add .NET Core 3.1 Global Tools install folder to PATH RUN /usr/local/bin/dotnet-install.sh -v $DOTNET_31_SDK_VERSION \ && dotnet --list-sdks \ && rm -rf /tmp/* @@ -447,15 +448,15 @@ RUN set -ex \ && ln -s ~/.dotnet/tools/dotnet-gitversion /usr/local/bin/gitversion #Ruby 2.7 -ENV RUBY_27_VERSION="2.7.2" +ENV RUBY_27_VERSION="2.7.6" RUN rbenv install $RUBY_27_VERSION && rm -rf /tmp/* && rbenv global $RUBY_27_VERSION && ruby -v #Golang 14 -ENV GOLANG_14_VERSION="1.14.12" +ENV GOLANG_14_VERSION="1.14.15" RUN goenv install $GOLANG_14_VERSION && rm -rf /tmp/* && goenv global $GOLANG_14_VERSION #Php 7.4 -ENV PHP_74_VERSION="7.4.7" +ENV PHP_74_VERSION="7.4.29" COPY tools/runtime_configs/php/$PHP_74_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_74_VERSION RUN phpenv install $PHP_74_VERSION && rm -rf /tmp/* && phpenv global $PHP_74_VERSION RUN echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_74_VERSION/etc/conf.d/memory.ini" @@ -473,10 +474,10 @@ FROM runtimes_3 AS al2_v3 # Configure SSH COPY ssh_config /root/.ssh/config COPY runtimes.yml /codebuild/image/config/runtimes.yml -COPY dockerd-entrypoint.sh /usr/local/bin/ -COPY legal/THIRD_PARTY_LICENSES.txt /usr/share/doc -COPY legal/bill_of_material.txt /usr/share/doc -COPY amazon-ssm-agent.json /etc/amazon/ssm/ +COPY dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh +COPY legal/THIRD_PARTY_LICENSES.txt /usr/share/doc/THIRD_PARTY_LICENSES.txt +COPY legal/bill_of_material.txt /usr/share/doc/bill_of_material.txt +COPY amazon-ssm-agent.json /etc/amazon/ssm/amazon-ssm-agent.json ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"] diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.19 b/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.33 similarity index 81% rename from al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.19 rename to al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.33 index 339dd8cc..ff425a9e 100644 --- a/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.19 +++ b/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.33 @@ -5,7 +5,7 @@ configure_option "--with-pdo-pgsql" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.19 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 #Don't change beyond this line configure_option "--without-pear" @@ -14,7 +14,6 @@ configure_option "--with-png-dir" "/usr" configure_option "--with-jpeg-dir" "/usr" configure_option "--enable-zip" -install_package "https://secure.php.net/distributions/php-7.3.19.tar.bz2" -install_xdebug "2.9.6" +install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache - diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.7 b/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.29 similarity index 76% rename from al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.7 rename to al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.29 index 07cb0b06..5ff4de56 100644 --- a/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.7 +++ b/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.29 @@ -5,14 +5,14 @@ configure_option "--with-libedit" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.7 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.29 #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-7.4.7.tar.bz2" -install_xdebug "2.9.6" +install_package "https://secure.php.net/distributions/php-7.4.29.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.10 b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.10 deleted file mode 100644 index bd92ac74..00000000 --- a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.10 +++ /dev/null @@ -1,19 +0,0 @@ -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.10 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz#f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b" standard verify_py37 copy_python_gdb ensurepip -else - install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz#c9649ad84dc3a434c8637df6963100b2e5608697f9ba56d82e3809e4148e0975" standard verify_py37 copy_python_gdb ensurepip -fi - - diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.13 b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.13 new file mode 100644 index 00000000..5ed85b47 --- /dev/null +++ b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.13 @@ -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 diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.10 b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.10 deleted file mode 100644 index 87e42a85..00000000 --- a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.10 +++ /dev/null @@ -1,17 +0,0 @@ -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.10 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz#6af24a66093dd840bcccf371d4044a3027e655cf24591ce26e48022bc79219d9" standard verify_py38 copy_python_gdb ensurepip -else - install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz#b37ac74d2cbad2590e7cd0dd2b3826c29afe89a734090a87bf8c03c45066cb65" standard verify_py38 copy_python_gdb ensurepip -fi diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.13 b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.13 new file mode 100644 index 00000000..f49aaa02 --- /dev/null +++ b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.13 @@ -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 diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.12 b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.12 new file mode 100644 index 00000000..fb3bf1f6 --- /dev/null +++ b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.12 @@ -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 diff --git a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.5 b/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.5 deleted file mode 100644 index d7527a70..00000000 --- a/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.5 +++ /dev/null @@ -1,17 +0,0 @@ -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.5 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz#0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83" standard verify_py39 copy_python_gdb ensurepip -else - install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tgz#e0fbd5b6e1ee242524430dee3c91baf4cbbaba4a72dd1674b90fda87b713c7ab" standard verify_py39 copy_python_gdb ensurepip -fi diff --git a/ubuntu/standard/4.0/Dockerfile b/ubuntu/standard/4.0/Dockerfile index c267f7b7..9d933ab8 100644 --- a/ubuntu/standard/4.0/Dockerfile +++ b/ubuntu/standard/4.0/Dockerfile @@ -8,7 +8,6 @@ # or in the "license" file accompanying this file. # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. # See the License for the specific language governing permissions and limitations under the License. - FROM public.ecr.aws/ubuntu/ubuntu:18.04 AS core ENV DEBIAN_FRONTEND="noninteractive" @@ -103,9 +102,9 @@ RUN set -ex \ # Install stunnel RUN set -ex \ - && STUNNEL_VERSION=5.56 \ + && STUNNEL_VERSION=5.64 \ && STUNNEL_TAR=stunnel-$STUNNEL_VERSION.tar.gz \ - && STUNNEL_SHA256="7384bfb356b9a89ddfee70b5ca494d187605bb516b4fff597e167f97e2236b22" \ + && STUNNEL_SHA256="eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883" \ && curl -o $STUNNEL_TAR https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/$STUNNEL_TAR && echo "$STUNNEL_SHA256 $STUNNEL_TAR" | sha256sum --check && tar xfz $STUNNEL_TAR \ && cd stunnel-$STUNNEL_VERSION \ && ./configure \ @@ -118,8 +117,8 @@ RUN set -ex \ # AWS Tools # https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html -RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/aws-iam-authenticator \ - && curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/kubectl \ +RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://s3.us-west-2.amazonaws.com/amazon-eks/1.22.6/2022-03-09/bin/linux/amd64/aws-iam-authenticator \ + && curl -sS -o /usr/local/bin/kubectl https://s3.us-west-2.amazonaws.com/amazon-eks/1.22.6/2022-03-09/bin/linux/amd64/kubectl \ && curl -sS -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest \ && curl -sS -L https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz | tar xz -C /usr/local/bin \ && chmod +x /usr/local/bin/kubectl /usr/local/bin/aws-iam-authenticator /usr/local/bin/ecs-cli /usr/local/bin/eksctl @@ -128,7 +127,7 @@ RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-we RUN set -ex \ && mkdir /tmp/ssm \ && cd /tmp/ssm \ - && wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.0.1390.0/debian_amd64/amazon-ssm-agent.deb \ + && wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.1.1374.0/debian_amd64/amazon-ssm-agent.deb \ && dpkg -i amazon-ssm-agent.deb # Install env tools for runtimes @@ -175,7 +174,7 @@ FROM tools AS runtimes #**************** .NET-CORE ******************************************************* -ENV DOTNET_31_SDK_VERSION="3.1.301" +ENV DOTNET_31_SDK_VERSION="3.1.419" ENV DOTNET_ROOT="/root/.dotnet" # Add .NET Core Global Tools install folder to PATH @@ -217,7 +216,7 @@ RUN set -ex \ #**************** NODEJS **************************************************** -ENV NODE_12_VERSION="12.22.2" \ +ENV NODE_12_VERSION="12.22.12" \ NODE_10_VERSION="10.24.1" RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ @@ -232,8 +231,8 @@ RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install #**************** RUBY ********************************************************* -ENV RUBY_26_VERSION="2.6.6" \ - RUBY_27_VERSION="2.7.2" +ENV RUBY_26_VERSION="2.6.10" \ + RUBY_27_VERSION="2.7.6" RUN rbenv install $RUBY_26_VERSION && rm -rf /tmp/* RUN rbenv install $RUBY_27_VERSION && rm -rf /tmp/* && rbenv global $RUBY_27_VERSION && ruby -v @@ -241,9 +240,9 @@ RUN rbenv install $RUBY_27_VERSION && rm -rf /tmp/* && rbenv global $RUBY_27_VER #**************** END RUBY ***************************************************** #**************** PYTHON ***************************************************** -ENV PYTHON_39_VERSION="3.9.5" \ - PYTHON_38_VERSION="3.8.10" \ - PYTHON_37_VERSION="3.7.10" +ENV PYTHON_39_VERSION="3.9.12" \ + PYTHON_38_VERSION="3.8.13" \ + PYTHON_37_VERSION="3.7.13" ENV PYTHON_PIP_VERSION=21.1.2 ENV PYYAML_VERSION=5.4.1 @@ -275,8 +274,8 @@ RUN set -ex \ #**************** END PYTHON ***************************************************** #**************** PHP **************************************************** -ENV PHP_74_VERSION="7.4.7" \ - PHP_73_VERSION="7.3.19" +ENV PHP_74_VERSION="7.4.29" \ + PHP_73_VERSION="7.3.33" RUN curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash ENV PATH="/root/.phpenv/shims:/root/.phpenv/bin:$PATH" @@ -316,12 +315,12 @@ ENV JAVA_11_HOME="/usr/lib/jvm/java-11-amazon-corretto" \ JAVA_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto" \ JDK_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto" \ JRE_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto/jre" \ - ANT_VERSION=1.10.8 \ + ANT_VERSION=1.10.12 \ MAVEN_HOME="/opt/maven" \ MAVEN_VERSION=3.6.3 \ INSTALLED_GRADLE_VERSIONS="4.10.3 5.6.4" \ GRADLE_VERSION=5.6.4 \ - SBT_VERSION=1.6.1 \ + SBT_VERSION=1.6.2 \ ANDROID_HOME="/usr/local/android-sdk-linux" \ GRADLE_PATH="$SRC_DIR/gradle" \ ANDROID_SDK_MANAGER_VER="4333796" \ @@ -330,11 +329,11 @@ ENV JAVA_11_HOME="/usr/lib/jvm/java-11-amazon-corretto" \ ANDROID_SDK_BUILD_TOOLS_28="build-tools;28.0.3" \ ANDROID_SDK_PLATFORM_TOOLS_28="platforms;android-28" \ ANDROID_SDK_EXTRAS="extras;android;m2repository extras;google;m2repository extras;google;google_play_services" \ - ANT_DOWNLOAD_SHA512="4d80dc6ba23eeec7769085ddb00261b7480b596b56c6e69aa221391acbfb7338eb5855179c88222c8021095ef1f64f43caf2b4f90e8305d7c3128026d4258d06" \ + ANT_DOWNLOAD_SHA512="2287dc5cfc21043c14e5413f9afb1c87c9f266ec2a9ba2d3bf2285446f6e4ccb59b558bf2e5c57911a05dfa293c7d5c7ad60ac9f744ba11406f4e6f9a27b2403" \ MAVEN_DOWNLOAD_SHA512="c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0" \ GRADLE_DOWNLOADS_SHA256="abc10bcedb58806e8654210f96031db541bcd2d6fc3161e81cb0572d6a15e821 5.6.4\n336b6898b491f6334502d8074a6b8c2d73ed83b92123106bd4bf837f04111043 4.10.3" \ ANDROID_SDK_MANAGER_SHA256="92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9" \ - SBT_DOWNLOAD_SHA256="60286bf1b875b31e2955f8a699888cd2612e9afd94d03cde0a2e71efd7492ffc" \ + SBT_DOWNLOAD_SHA256="637637b6c4e6fa04ab62cd364061e32b12480b09001cd23303df62b36fadd440" \ LOG4J_UNSAFE_VERSIONS="2.11.1 1.2.8" ARG MAVEN_CONFIG_HOME="/root/.m2" @@ -375,7 +374,7 @@ RUN set -ex \ && android-accept-licenses.sh "env JAVA_HOME=$JAVA_8_HOME JRE_HOME=$JRE_8_HOME JDK_HOME=$JDK_8_HOME sdkmanager --verbose platform-tools ${ANDROID_SDK_BUILD_TOOLS} ${ANDROID_SDK_PLATFORM_TOOLS} ${ANDROID_SDK_EXTRAS} ${ANDROID_SDK_NDK_TOOLS}" | grep -v '\[=' \ && android-accept-licenses.sh "env JAVA_HOME=$JAVA_8_HOME JRE_HOME=$JRE_8_HOME JDK_HOME=$JDK_8_HOME sdkmanager --verbose platform-tools ${ANDROID_SDK_BUILD_TOOLS_28} ${ANDROID_SDK_PLATFORM_TOOLS_28}" | grep -v '\[=' \ && android-accept-licenses.sh "env JAVA_HOME=$JAVA_8_HOME JRE_HOME=$JRE_8_HOME JDK_HOME=$JDK_8_HOME sdkmanager --licenses" \ - && apt-get install -y -qq python-setuptools + && apt-get install -y -qq python-setuptools RUN set -ex \ # Install Corretto 11 @@ -442,8 +441,8 @@ ENV DOCKER_BUCKET="download.docker.com" \ DOCKER_COMPOSE_VERSION="1.26.0" \ SRC_DIR="/usr/src" -ENV DOCKER_SHA256="dd6ff72df1edfd61ae55feaa4aadb88634161f0aa06dbaaf291d1be594099ff3" -ENV DOCKER_VERSION="20.10.11" +ENV DOCKER_SHA256="9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070" +ENV DOCKER_VERSION="20.10.15" # Install Docker RUN set -ex \ @@ -470,7 +469,7 @@ VOLUME /var/lib/docker FROM runtimes_n_corretto AS std_v4 # GoLang 14 -ENV GOLANG_14_VERSION="1.14.12" +ENV GOLANG_14_VERSION="1.14.15" RUN goenv install $GOLANG_14_VERSION && rm -rf /tmp/* && goenv global $GOLANG_14_VERSION # Activate runtime versions specific to image version. @@ -482,10 +481,10 @@ RUN rbenv global $RUBY_27_VERSION # Configure SSH COPY ssh_config /root/.ssh/config COPY runtimes.yml /codebuild/image/config/runtimes.yml -COPY dockerd-entrypoint.sh /usr/local/bin/ -COPY legal/THIRD_PARTY_LICENSES.txt /usr/share/doc -COPY legal/bill_of_material.txt /usr/share/doc -COPY amazon-ssm-agent.json /etc/amazon/ssm/ +COPY dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh +COPY legal/THIRD_PARTY_LICENSES.txt /usr/share/doc/THIRD_PARTY_LICENSES.txt +COPY legal/bill_of_material.txt /usr/share/doc/bill_of_material.txt +COPY amazon-ssm-agent.json /etc/amazon/ssm/amazon-ssm-agent.json ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"] diff --git a/ubuntu/standard/4.0/tools/runtime_configs/php/7.3.19 b/ubuntu/standard/4.0/tools/runtime_configs/php/7.3.33 similarity index 81% rename from ubuntu/standard/4.0/tools/runtime_configs/php/7.3.19 rename to ubuntu/standard/4.0/tools/runtime_configs/php/7.3.33 index 339dd8cc..ff425a9e 100644 --- a/ubuntu/standard/4.0/tools/runtime_configs/php/7.3.19 +++ b/ubuntu/standard/4.0/tools/runtime_configs/php/7.3.33 @@ -5,7 +5,7 @@ configure_option "--with-pdo-pgsql" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.19 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 #Don't change beyond this line configure_option "--without-pear" @@ -14,7 +14,6 @@ configure_option "--with-png-dir" "/usr" configure_option "--with-jpeg-dir" "/usr" configure_option "--enable-zip" -install_package "https://secure.php.net/distributions/php-7.3.19.tar.bz2" -install_xdebug "2.9.6" +install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache - diff --git a/ubuntu/standard/4.0/tools/runtime_configs/php/7.4.7 b/ubuntu/standard/4.0/tools/runtime_configs/php/7.4.29 similarity index 76% rename from ubuntu/standard/4.0/tools/runtime_configs/php/7.4.7 rename to ubuntu/standard/4.0/tools/runtime_configs/php/7.4.29 index 07cb0b06..5ff4de56 100644 --- a/ubuntu/standard/4.0/tools/runtime_configs/php/7.4.7 +++ b/ubuntu/standard/4.0/tools/runtime_configs/php/7.4.29 @@ -5,14 +5,14 @@ configure_option "--with-libedit" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.7 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.29 #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-7.4.7.tar.bz2" -install_xdebug "2.9.6" +install_package "https://secure.php.net/distributions/php-7.4.29.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache diff --git a/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.10 b/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.10 deleted file mode 100644 index bd92ac74..00000000 --- a/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.10 +++ /dev/null @@ -1,19 +0,0 @@ -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.10 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz#f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b" standard verify_py37 copy_python_gdb ensurepip -else - install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz#c9649ad84dc3a434c8637df6963100b2e5608697f9ba56d82e3809e4148e0975" standard verify_py37 copy_python_gdb ensurepip -fi - - diff --git a/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.13 b/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.13 new file mode 100644 index 00000000..5ed85b47 --- /dev/null +++ b/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.13 @@ -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 diff --git a/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.10 b/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.10 deleted file mode 100644 index 87e42a85..00000000 --- a/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.10 +++ /dev/null @@ -1,17 +0,0 @@ -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.10 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz#6af24a66093dd840bcccf371d4044a3027e655cf24591ce26e48022bc79219d9" standard verify_py38 copy_python_gdb ensurepip -else - install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz#b37ac74d2cbad2590e7cd0dd2b3826c29afe89a734090a87bf8c03c45066cb65" standard verify_py38 copy_python_gdb ensurepip -fi diff --git a/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.13 b/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.13 new file mode 100644 index 00000000..f49aaa02 --- /dev/null +++ b/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.13 @@ -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 diff --git a/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.12 b/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.12 new file mode 100644 index 00000000..fb3bf1f6 --- /dev/null +++ b/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.12 @@ -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 diff --git a/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.5 b/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.5 deleted file mode 100644 index d7527a70..00000000 --- a/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.5 +++ /dev/null @@ -1,17 +0,0 @@ -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.5 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz#0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83" standard verify_py39 copy_python_gdb ensurepip -else - install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tgz#e0fbd5b6e1ee242524430dee3c91baf4cbbaba4a72dd1674b90fda87b713c7ab" standard verify_py39 copy_python_gdb ensurepip -fi diff --git a/ubuntu/standard/5.0/Dockerfile b/ubuntu/standard/5.0/Dockerfile index d802dd62..036c281f 100644 --- a/ubuntu/standard/5.0/Dockerfile +++ b/ubuntu/standard/5.0/Dockerfile @@ -8,7 +8,6 @@ # or in the "license" file accompanying this file. # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. # See the License for the specific language governing permissions and limitations under the License. - FROM public.ecr.aws/ubuntu/ubuntu:20.04 AS core ARG DEBIAN_FRONTEND="noninteractive" @@ -94,9 +93,9 @@ RUN set -ex \ # Install stunnel RUN set -ex \ - && STUNNEL_VERSION=5.56 \ + && STUNNEL_VERSION=5.64 \ && STUNNEL_TAR=stunnel-$STUNNEL_VERSION.tar.gz \ - && STUNNEL_SHA256="7384bfb356b9a89ddfee70b5ca494d187605bb516b4fff597e167f97e2236b22" \ + && STUNNEL_SHA256="eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883" \ && curl -o $STUNNEL_TAR https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/$STUNNEL_TAR && echo "$STUNNEL_SHA256 $STUNNEL_TAR" | sha256sum --check && tar xfz $STUNNEL_TAR \ && cd stunnel-$STUNNEL_VERSION \ && ./configure \ @@ -109,8 +108,8 @@ RUN set -ex \ # AWS Tools # https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html -RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/aws-iam-authenticator \ - && curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/kubectl \ +RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://s3.us-west-2.amazonaws.com/amazon-eks/1.22.6/2022-03-09/bin/linux/amd64/aws-iam-authenticator \ + && curl -sS -o /usr/local/bin/kubectl https://s3.us-west-2.amazonaws.com/amazon-eks/1.22.6/2022-03-09/bin/linux/amd64/kubectl \ && curl -sS -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest \ && curl -sS -L https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz | tar xz -C /usr/local/bin \ && chmod +x /usr/local/bin/kubectl /usr/local/bin/aws-iam-authenticator /usr/local/bin/ecs-cli /usr/local/bin/eksctl @@ -119,7 +118,7 @@ RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-we RUN set -ex \ && mkdir /tmp/ssm \ && cd /tmp/ssm \ - && wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.0.1390.0/debian_amd64/amazon-ssm-agent.deb \ + && wget -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.1.1374.0/debian_amd64/amazon-ssm-agent.deb \ && dpkg -i amazon-ssm-agent.deb # Install AWS CLI v2 @@ -142,7 +141,7 @@ RUN set -ex \ ARG SRC_DIR="/usr/src" ARG N_SRC_DIR="$SRC_DIR/n" RUN git clone https://github.com/tj/n $N_SRC_DIR \ - && cd $N_SRC_DIR && make install + && cd $N_SRC_DIR && make install #ruby ARG RBENV_SRC_DIR="/usr/local/rbenv" @@ -175,8 +174,8 @@ FROM tools AS runtimes #**************** .NET-CORE ******************************************************* -ENV DOTNET_31_SDK_VERSION="3.1.404" -ENV DOTNET_5_SDK_VERSION="5.0.202" +ENV DOTNET_31_SDK_VERSION="3.1.419" +ENV DOTNET_5_SDK_VERSION="5.0.408" ENV DOTNET_ROOT="/root/.dotnet" # Add .NET Core 3.1 Global Tools install folder to PATH @@ -201,9 +200,9 @@ RUN set -ex \ # Install Powershell Core # See instructions at https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell-core-on-linux -ARG POWERSHELL_VERSION=7.1.0 +ARG POWERSHELL_VERSION=7.1.7 ARG POWERSHELL_DOWNLOAD_URL=https://github.com/PowerShell/PowerShell/releases/download/v$POWERSHELL_VERSION/powershell-$POWERSHELL_VERSION-linux-x64.tar.gz -ARG POWERSHELL_DOWNLOAD_SHA=F926A6CCE202F08F05D0BB662719F37CFA78CC073A9DE37B0A9B94F510F8D418 +ARG POWERSHELL_DOWNLOAD_SHA=5E683CA918A62D9A4345BF5E7FB676D3A273A6302D1F162E936FDEB43DBBA5DE RUN set -ex \ && curl -SL $POWERSHELL_DOWNLOAD_URL --output powershell.tar.gz \ @@ -217,8 +216,8 @@ RUN set -ex \ #**************** NODEJS **************************************************** -ENV NODE_12_VERSION="12.22.2" -ENV NODE_14_VERSION="14.17.2" +ENV NODE_12_VERSION="12.22.12" +ENV NODE_14_VERSION="14.19.2" RUN n $NODE_14_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ && n $NODE_12_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \ @@ -232,18 +231,19 @@ RUN n $NODE_14_VERSION && npm install --save-dev -g -f grunt && npm install #**************** RUBY ********************************************************* -ENV RUBY_26_VERSION="2.6.6" -ENV RUBY_27_VERSION="2.7.2" +ENV RUBY_26_VERSION="2.6.10" +ENV RUBY_27_VERSION="2.7.6" -RUN rbenv install $RUBY_26_VERSION && rm -rf /tmp/* -RUN rbenv install $RUBY_27_VERSION && rm -rf /tmp/* && rbenv global $RUBY_27_VERSION && ruby -v +RUN rbenv install $RUBY_26_VERSION && rm -rf /tmp/* \ + && rbenv install $RUBY_27_VERSION && rm -rf /tmp/* \ + && rbenv global $RUBY_27_VERSION && ruby -v #**************** END RUBY ***************************************************** #**************** PYTHON ***************************************************** -ENV PYTHON_37_VERSION="3.7.10" -ENV PYTHON_38_VERSION="3.8.10" -ENV PYTHON_39_VERSION="3.9.5" +ENV PYTHON_37_VERSION="3.7.13" +ENV PYTHON_38_VERSION="3.8.13" +ENV PYTHON_39_VERSION="3.9.12" ARG PYTHON_PIP_VERSION=21.1.2 ENV PYYAML_VERSION=5.4.1 @@ -275,9 +275,9 @@ RUN set -ex \ #**************** END PYTHON ***************************************************** #**************** PHP **************************************************** -ENV PHP_73_VERSION="7.3.25" -ENV PHP_74_VERSION="7.4.13" -ENV PHP_80_VERSION="8.0.0" +ENV PHP_73_VERSION="7.3.33" +ENV PHP_74_VERSION="7.4.29" +ENV PHP_80_VERSION="8.0.18" RUN curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash ENV PATH="/root/.phpenv/shims:/root/.phpenv/bin:$PATH" @@ -298,8 +298,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin - #**************** END PHP **************************************************** #**************** GOLANG **************************************************** -ENV GOLANG_15_VERSION="1.15.12" -ENV GOLANG_16_VERSION="1.16.4" +ENV GOLANG_15_VERSION="1.15.15" +ENV GOLANG_16_VERSION="1.16.15" RUN goenv install $GOLANG_15_VERSION && rm -rf /tmp/* && \ goenv install $GOLANG_16_VERSION && rm -rf /tmp/* && \ @@ -319,20 +319,20 @@ ENV JRE_11_HOME="/usr/lib/jvm/java-11-amazon-corretto" ENV JAVA_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto" ENV JDK_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto" ENV JRE_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto/jre" -ARG ANT_VERSION=1.10.9 +ARG ANT_VERSION=1.10.12 ARG MAVEN_HOME="/opt/maven" ARG MAVEN_VERSION=3.6.3 ARG INSTALLED_GRADLE_VERSIONS="5.6.4 6.7" ARG GRADLE_VERSION=5.6.4 -ARG SBT_VERSION=1.6.1 +ARG SBT_VERSION=1.6.2 ARG GRADLE_PATH="$SRC_DIR/gradle" -ARG ANT_DOWNLOAD_SHA512="ed73febff2803079d13117e18a22697eecdac64c9c52fc5259ac880d7b07f527d8ce3779851af0cda5798a368ebc979d43dd7085a0a62af57df23ff3d105dd6f" +ARG ANT_DOWNLOAD_SHA512="2287dc5cfc21043c14e5413f9afb1c87c9f266ec2a9ba2d3bf2285446f6e4ccb59b558bf2e5c57911a05dfa293c7d5c7ad60ac9f744ba11406f4e6f9a27b2403" ARG MAVEN_DOWNLOAD_SHA512="c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0" ARG GRADLE_DOWNLOADS_SHA256="abc10bcedb58806e8654210f96031db541bcd2d6fc3161e81cb0572d6a15e821 5.6.4\n0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583 6.7" -ARG SBT_DOWNLOAD_SHA256="60286bf1b875b31e2955f8a699888cd2612e9afd94d03cde0a2e71efd7492ffc" \ +ARG SBT_DOWNLOAD_SHA256="637637b6c4e6fa04ab62cd364061e32b12480b09001cd23303df62b36fadd440" ENV LOG4J_UNSAFE_VERSIONS="2.11.1 1.2.8" -ARG MAVEN_CONFIG_HOME="/root/.m2" +ARG MAVEN_CONFIG_HOME="/root/.m2" ENV JAVA_HOME="$JAVA_11_HOME" \ JDK_HOME="$JDK_11_HOME" \ @@ -422,8 +422,8 @@ ARG DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" ARG DOCKER_COMPOSE_VERSION="1.27.4" ARG SRC_DIR="/usr/src" -ARG DOCKER_SHA256="dd6ff72df1edfd61ae55feaa4aadb88634161f0aa06dbaaf291d1be594099ff3" -ARG DOCKER_VERSION="20.10.11" +ARG DOCKER_SHA256="9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070" +ARG DOCKER_VERSION="20.10.15" # Install Docker RUN set -ex \ @@ -459,9 +459,9 @@ RUN goenv global $GOLANG_15_VERSION # Configure SSH COPY ssh_config /root/.ssh/config COPY runtimes.yml /codebuild/image/config/runtimes.yml -COPY dockerd-entrypoint.sh /usr/local/bin/ -COPY legal/bill_of_material.txt /usr/share/doc -COPY amazon-ssm-agent.json /etc/amazon/ssm/ +COPY dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh +COPY legal/bill_of_material.txt /usr/share/doc/bill_of_material.txt +COPY amazon-ssm-agent.json /etc/amazon/ssm/amazon-ssm-agent.json ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"] diff --git a/ubuntu/standard/5.0/tools/runtime_configs/php/7.3.25 b/ubuntu/standard/5.0/tools/runtime_configs/php/7.3.33 similarity index 77% rename from ubuntu/standard/5.0/tools/runtime_configs/php/7.3.25 rename to ubuntu/standard/5.0/tools/runtime_configs/php/7.3.33 index 8c938a04..ff425a9e 100644 --- a/ubuntu/standard/5.0/tools/runtime_configs/php/7.3.25 +++ b/ubuntu/standard/5.0/tools/runtime_configs/php/7.3.33 @@ -2,11 +2,10 @@ configure_option "--with-curl" configure_option "--with-libedit" configure_option "--with-password-argon2" configure_option "--with-pdo-pgsql" -configure_option "--with-sodium" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.25 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 #Don't change beyond this line configure_option "--without-pear" @@ -15,7 +14,6 @@ configure_option "--with-png-dir" "/usr" configure_option "--with-jpeg-dir" "/usr" configure_option "--enable-zip" -install_package "https://secure.php.net/distributions/php-7.3.25.tar.bz2" -install_xdebug "3.0.0" +install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache - diff --git a/ubuntu/standard/5.0/tools/runtime_configs/php/7.4.13 b/ubuntu/standard/5.0/tools/runtime_configs/php/7.4.29 similarity index 73% rename from ubuntu/standard/5.0/tools/runtime_configs/php/7.4.13 rename to ubuntu/standard/5.0/tools/runtime_configs/php/7.4.29 index 3cc23651..5ff4de56 100644 --- a/ubuntu/standard/5.0/tools/runtime_configs/php/7.4.13 +++ b/ubuntu/standard/5.0/tools/runtime_configs/php/7.4.29 @@ -2,18 +2,17 @@ configure_option "--with-curl" configure_option "--with-password-argon2" configure_option "--with-pdo-pgsql" configure_option "--with-libedit" -configure_option "--with-sodium" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.13 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.29 #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-7.4.13.tar.bz2" -install_xdebug "3.0.0" +install_package "https://secure.php.net/distributions/php-7.4.29.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache diff --git a/ubuntu/standard/5.0/tools/runtime_configs/php/8.0.0 b/ubuntu/standard/5.0/tools/runtime_configs/php/8.0.18 similarity index 75% rename from ubuntu/standard/5.0/tools/runtime_configs/php/8.0.0 rename to ubuntu/standard/5.0/tools/runtime_configs/php/8.0.18 index 6f5f634d..3f659405 100644 --- a/ubuntu/standard/5.0/tools/runtime_configs/php/8.0.0 +++ b/ubuntu/standard/5.0/tools/runtime_configs/php/8.0.18 @@ -2,11 +2,10 @@ configure_option "--with-curl" configure_option "--with-password-argon2" configure_option "--with-pdo-pgsql" configure_option "--with-libedit" -configure_option "--with-sodium" PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" -#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.0.0 +#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.0.18 #Don't change beyond this line configure_option "--enable-gd" @@ -16,6 +15,6 @@ configure_option "--with-mhash" configure_option -D "--with-xmlrpc" -install_package "https://secure.php.net/distributions/php-8.0.0.tar.bz2" -install_xdebug "3.0.0" +install_package "https://secure.php.net/distributions/php-8.0.18.tar.bz2" +install_xdebug "3.1.3" enable_builtin_opcache diff --git a/ubuntu/standard/5.0/tools/runtime_configs/python/3.7.10 b/ubuntu/standard/5.0/tools/runtime_configs/python/3.7.10 deleted file mode 100644 index 61ad9aef..00000000 --- a/ubuntu/standard/5.0/tools/runtime_configs/python/3.7.10 +++ /dev/null @@ -1,18 +0,0 @@ -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.10 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz#f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b" standard verify_py37 copy_python_gdb ensurepip -else - install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz#c9649ad84dc3a434c8637df6963100b2e5608697f9ba56d82e3809e4148e0975" standard verify_py37 copy_python_gdb ensurepip -fi - diff --git a/ubuntu/standard/5.0/tools/runtime_configs/python/3.7.13 b/ubuntu/standard/5.0/tools/runtime_configs/python/3.7.13 new file mode 100644 index 00000000..5ed85b47 --- /dev/null +++ b/ubuntu/standard/5.0/tools/runtime_configs/python/3.7.13 @@ -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 diff --git a/ubuntu/standard/5.0/tools/runtime_configs/python/3.8.10 b/ubuntu/standard/5.0/tools/runtime_configs/python/3.8.10 deleted file mode 100644 index 87e42a85..00000000 --- a/ubuntu/standard/5.0/tools/runtime_configs/python/3.8.10 +++ /dev/null @@ -1,17 +0,0 @@ -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.10 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz#6af24a66093dd840bcccf371d4044a3027e655cf24591ce26e48022bc79219d9" standard verify_py38 copy_python_gdb ensurepip -else - install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz#b37ac74d2cbad2590e7cd0dd2b3826c29afe89a734090a87bf8c03c45066cb65" standard verify_py38 copy_python_gdb ensurepip -fi diff --git a/ubuntu/standard/5.0/tools/runtime_configs/python/3.8.13 b/ubuntu/standard/5.0/tools/runtime_configs/python/3.8.13 new file mode 100644 index 00000000..f49aaa02 --- /dev/null +++ b/ubuntu/standard/5.0/tools/runtime_configs/python/3.8.13 @@ -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 diff --git a/ubuntu/standard/5.0/tools/runtime_configs/python/3.9.12 b/ubuntu/standard/5.0/tools/runtime_configs/python/3.9.12 new file mode 100644 index 00000000..fb3bf1f6 --- /dev/null +++ b/ubuntu/standard/5.0/tools/runtime_configs/python/3.9.12 @@ -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 diff --git a/ubuntu/standard/5.0/tools/runtime_configs/python/3.9.5 b/ubuntu/standard/5.0/tools/runtime_configs/python/3.9.5 deleted file mode 100644 index d7527a70..00000000 --- a/ubuntu/standard/5.0/tools/runtime_configs/python/3.9.5 +++ /dev/null @@ -1,17 +0,0 @@ -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.5 - -#require_gcc -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl -install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline -if has_tar_xz_support; then - install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz#0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83" standard verify_py39 copy_python_gdb ensurepip -else - install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tgz#e0fbd5b6e1ee242524430dee3c91baf4cbbaba4a72dd1674b90fda87b713c7ab" standard verify_py39 copy_python_gdb ensurepip -fi