Skip to content

Commit 3228c52

Browse files
Update image runtime minor versions and expand corretto8 and corretto11 tools (#660)
1 parent 31bbca4 commit 3228c52

File tree

25 files changed

+297
-148
lines changed

25 files changed

+297
-148
lines changed

al2/x86_64/standard/4.0/Dockerfile

+12-12
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ ENV JAVA_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \
137137
JRE_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \
138138
ANT_VERSION=1.10.13 \
139139
MAVEN_HOME="/opt/maven" \
140-
MAVEN_VERSION=3.9.1 \
141-
INSTALLED_GRADLE_VERSIONS="7.6" \
142-
GRADLE_VERSION=7.6 \
143-
SBT_VERSION=1.8.2 \
140+
MAVEN_VERSION=3.9.2 \
141+
INSTALLED_GRADLE_VERSIONS="7.6.1" \
142+
GRADLE_VERSION=7.6.1 \
143+
SBT_VERSION=1.8.3 \
144144
GRADLE_PATH="$SRC_DIR/gradle" \
145145
ANT_DOWNLOAD_SHA512="de4ac604629e39a86a306f0541adb3775596909ad92feb8b7de759b1b286417db24f557228737c8b902d6abf722d2ce5bb0c3baa3640cbeec3481e15ab1958c9" \
146-
MAVEN_DOWNLOAD_SHA512="d3be5956712d1c2cf7a6e4c3a2db1841aa971c6097c7a67f59493a5873ccf8c8b889cf988e4e9801390a2b1ae5a0669de07673acb090a083232dbd3faf82f3e3" \
147-
GRADLE_DOWNLOADS_SHA256="312eb12875e1747e05c2f81a4789902d7e4ec5defbd1eefeaccc08acf096505d 7.6" \
148-
SBT_DOWNLOAD_SHA256="1f65344da074dbd66dfefa93c0eff8d319d772e5cad47fcbeb6ae178bbdf4686" \
146+
MAVEN_DOWNLOAD_SHA512="900bdeeeae550d2d2b3920fe0e00e41b0069f32c019d566465015bdd1b3866395cbe016e22d95d25d51d3a5e614af2c83ec9b282d73309f644859bbad08b63db" \
147+
GRADLE_DOWNLOADS_SHA256="518a863631feb7452b8f1b3dc2aaee5f388355cc3421bbd0275fbeadd77e84b2 7.6.1" \
148+
SBT_DOWNLOAD_SHA256="21F4210786FD68FD15DCA3F4C8EE9CAE0DB249C54E1B0EF6E829E9FA4936423A" \
149149
LOG4J_UNSAFE_VERSIONS="2.11.1 1.2.8"
150150

151151
ARG MAVEN_CONFIG_HOME="/root/.m2"
@@ -231,7 +231,7 @@ RUN set -ex \
231231
&& ln -s /opt/microsoft/powershell/$POWERSHELL_VERSION/pwsh /usr/bin/pwsh
232232

233233
#DotNet 6.0
234-
ENV DOTNET_60_SDK_VERSION="6.0.408"
234+
ENV DOTNET_60_SDK_VERSION="6.0.410"
235235
ENV DOTNET_ROOT="/root/.dotnet"
236236

237237
# Add .NET Core 6.0 Global Tools install folder to PATH
@@ -253,12 +253,12 @@ RUN set -ex \
253253

254254
#**************** NODEJS ****************************************************
255255

256-
ENV NODE_16_VERSION="16.20.0"
256+
ENV NODE_16_VERSION="16.20.1"
257257

258258
RUN n $NODE_16_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \
259259
&& curl -sSL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \
260260
&& rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg \
261-
&& 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 \
261+
&& yum install -y https://dl.fedoraproject.org/pub/epel/8/Modular/x86_64/Packages/l/libuv-1.43.0-2.module_el8+13804+34326f90.x86_64.rpm \
262262
&& yum install -y -q yarn \
263263
&& yarn --version \
264264
&& cd / && rm -rf $N_SRC_DIR && rm -rf /tmp/*
@@ -275,7 +275,7 @@ RUN rbenv install $RUBY_31_VERSION && rm -rf /tmp/* && rbenv global $RUBY_31_VER
275275

276276
#**************** PYTHON *****************************************************
277277
#Python 3.9
278-
ENV PYTHON_39_VERSION="3.9.16"
278+
ENV PYTHON_39_VERSION="3.9.17"
279279
ENV PYTHON_PIP_VERSION=21.3.1
280280
ENV PYYAML_VERSION=5.4.1
281281

@@ -290,7 +290,7 @@ RUN set -ex \
290290
#**************** END PYTHON *****************************************************
291291

292292
#**************** PHP ****************************************************
293-
ENV PHP_81_VERSION="8.1.18"
293+
ENV PHP_81_VERSION="8.1.20"
294294

295295
COPY tools/runtime_configs/php/$PHP_81_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_81_VERSION
296296
RUN phpenv install $PHP_81_VERSION && rm -rf /tmp/* && phpenv global $PHP_81_VERSION

al2/x86_64/standard/4.0/tools/runtime_configs/php/8.1.18 renamed to al2/x86_64/standard/4.0/tools/runtime_configs/php/8.1.20

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ configure_option "--with-libedit"
55

66
PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"
77

8-
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.18
8+
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.20
99
#Don't change beyond this line
1010

1111
configure_option "--enable-gd"
@@ -15,6 +15,6 @@ configure_option "--with-mhash"
1515

1616
configure_option -D "--with-xmlrpc"
1717

18-
install_package "https://www.php.net/distributions/php-8.1.18.tar.bz2"
18+
install_package "https://www.php.net/distributions/php-8.1.20.tar.bz2"
1919
install_xdebug "3.2.0"
2020
enable_builtin_opcache

al2/x86_64/standard/4.0/tools/runtime_configs/python/3.9.16

-17
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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.9.17
7+
8+
#require_gcc
9+
prefer_openssl11
10+
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
11+
# Avoid a compilation error when linking against OpenSSL built with SSLv3 support (fixed in 3.10.0) (#2181)
12+
export PYTHON_CFLAGS="-DOPENSSL_NO_SSL3${PYTHON_CFLAGS:+ $PYTHON_CFLAGS}"
13+
14+
install_package "openssl-1.1.1u" "https://www.openssl.org/source/openssl-1.1.1u.tar.gz#e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6" mac_openssl --if has_broken_mac_openssl
15+
install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline
16+
if has_tar_xz_support; then
17+
install_package "Python-3.9.17" "https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tar.xz#30ce057c44f283f8ed93606ccbdb8d51dd526bdc4c62cce5e0dc217bfa3e8cee" standard verify_py39 copy_python_gdb ensurepip
18+
else
19+
install_package "Python-3.9.17" "https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz#8ead58f669f7e19d777c3556b62fae29a81d7f06a7122ff9bc57f7dd82d7e014" standard verify_py39 copy_python_gdb ensurepip
20+
fi

al2/x86_64/standard/5.0/Dockerfile

+24-17
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ FROM core AS tools
4747

4848
# Install Git
4949
RUN set -ex \
50-
&& GIT_VERSION=2.40.0 \
50+
&& GIT_VERSION=2.40.1 \
5151
&& GIT_TAR_FILE=git-$GIT_VERSION.tar.gz \
5252
&& GIT_SRC=https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
5353
&& curl -L -o $GIT_TAR_FILE $GIT_SRC \
@@ -134,14 +134,14 @@ ENV JAVA_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \
134134
JRE_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \
135135
ANT_VERSION=1.10.13 \
136136
MAVEN_HOME="/opt/maven" \
137-
MAVEN_VERSION=3.9.1 \
137+
MAVEN_VERSION=3.9.2 \
138138
GRADLE_VERSION=8.1.1 \
139-
SBT_VERSION=1.8.2 \
139+
SBT_VERSION=1.8.3 \
140140
GRADLE_PATH="$SRC_DIR/gradle" \
141141
ANT_DOWNLOAD_SHA512="de4ac604629e39a86a306f0541adb3775596909ad92feb8b7de759b1b286417db24f557228737c8b902d6abf722d2ce5bb0c3baa3640cbeec3481e15ab1958c9" \
142-
MAVEN_DOWNLOAD_SHA512="d3be5956712d1c2cf7a6e4c3a2db1841aa971c6097c7a67f59493a5873ccf8c8b889cf988e4e9801390a2b1ae5a0669de07673acb090a083232dbd3faf82f3e3" \
142+
MAVEN_DOWNLOAD_SHA512="900bdeeeae550d2d2b3920fe0e00e41b0069f32c019d566465015bdd1b3866395cbe016e22d95d25d51d3a5e614af2c83ec9b282d73309f644859bbad08b63db" \
143143
GRADLE_DOWNLOADS_SHA256="5625a0ae20fe000d9225d000b36909c7a0e0e8dda61c19b12da769add847c975 8.1.1" \
144-
SBT_DOWNLOAD_SHA256="1f65344da074dbd66dfefa93c0eff8d319d772e5cad47fcbeb6ae178bbdf4686"
144+
SBT_DOWNLOAD_SHA256="21F4210786FD68FD15DCA3F4C8EE9CAE0DB249C54E1B0EF6E829E9FA4936423A"
145145

146146
ARG MAVEN_CONFIG_HOME="/root/.m2"
147147
ENV JAVA_HOME="$JAVA_17_HOME" \
@@ -231,7 +231,7 @@ RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscli
231231
&& aws --version
232232

233233
#DotNet 6.0
234-
ENV DOTNET_60_SDK_VERSION="6.0.408"
234+
ENV DOTNET_60_SDK_VERSION="6.0.410"
235235
ENV DOTNET_ROOT="/root/.dotnet"
236236

237237
# Add .NET Core 6.0 Global Tools install folder to PATH
@@ -256,6 +256,11 @@ RUN set -ex \
256256
ENV NODE_18_VERSION="18.16.0"
257257

258258
RUN n $NODE_18_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \
259+
&& curl -sSL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \
260+
&& rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg \
261+
&& yum install -y https://dl.fedoraproject.org/pub/epel/8/Modular/x86_64/Packages/l/libuv-1.43.0-2.module_el8+13804+34326f90.x86_64.rpm \
262+
&& yum install -y -q yarn \
263+
&& yarn --version \
259264
&& cd / && rm -rf $N_SRC_DIR && rm -rf /tmp/*
260265

261266
#**************** END NODEJS ****************************************************
@@ -270,8 +275,8 @@ RUN rbenv install $RUBY_32_VERSION && rm -rf /tmp/* && rbenv global $RUBY_32_VER
270275

271276
#**************** PYTHON *****************************************************
272277
#Python 3.11
273-
ENV PYTHON_311_VERSION="3.11.2"
274-
ENV PYTHON_PIP_VERSION=23.1.1
278+
ENV PYTHON_311_VERSION="3.11.4"
279+
ENV PYTHON_PIP_VERSION=23.1.2
275280
ENV PYYAML_VERSION=6.0
276281

277282
COPY tools/runtime_configs/python/$PYTHON_311_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_311_VERSION
@@ -285,7 +290,7 @@ RUN set -ex \
285290
#**************** END PYTHON *****************************************************
286291

287292
#**************** PHP ****************************************************
288-
ENV PHP_82_VERSION="8.2.5"
293+
ENV PHP_82_VERSION="8.2.7"
289294

290295
COPY tools/runtime_configs/php/$PHP_82_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_82_VERSION
291296
RUN phpenv install $PHP_82_VERSION && rm -rf /tmp/* && phpenv global $PHP_82_VERSION
@@ -296,7 +301,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin -
296301
#**************** END PHP ****************************************************
297302

298303
#**************** GOLANG ****************************************************
299-
ENV GOLANG_20_VERSION="1.20.3"
304+
ENV GOLANG_20_VERSION="1.20.5"
300305
ENV GOENV_DISABLE_GOPATH=1
301306
ENV GOPATH="/go"
302307

@@ -315,10 +320,10 @@ ENV DOCKER_BUCKET="download.docker.com" \
315320
DOCKER_CHANNEL="stable" \
316321
DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \
317322
DOCKER_COMPOSE_VERSION="2.17.3" \
318-
DOCKER_BUILDX_VERSION="0.10.4"
323+
DOCKER_BUILDX_VERSION="0.11.0"
319324

320-
ENV DOCKER_SHA256="81BD643A32B3428F6D9EAFBD9331D0DA1577C958C1C2702DB1EFF7AFA1CDF3CD"
321-
ENV DOCKER_VERSION="23.0.4"
325+
ENV DOCKER_SHA256="544262F4A3621222AFB79960BFAD4D486935DAB80893478B5CC9CF8EBAF409AE"
326+
ENV DOCKER_VERSION="23.0.6"
322327

323328
VOLUME /var/lib/docker
324329

@@ -342,11 +347,13 @@ RUN set -ex \
342347
# Ensure docker-compose and docker compose work
343348
&& docker-compose version \
344349
&& docker compose version \
345-
# Add docker buildx tool
346-
&& curl -L https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 -o /usr/local/bin/docker-buildx \
347-
&& chmod +x /usr/local/bin/dind /usr/local/bin/docker-buildx \
350+
# Add docker buildx tool \
351+
&& curl -L https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 -o /usr/local/lib/docker/cli-plugins/docker-buildx \
352+
&& chmod +x /usr/local/bin/dind /usr/local/lib/docker/cli-plugins/docker-buildx \
353+
&& ln -s /usr/local/lib/docker/cli-plugins/docker-buildx /usr/local/bin/docker-buildx \
348354
# Ensure docker-buildx works
349-
&& docker-buildx version
355+
&& docker-buildx version \
356+
&& docker buildx version
350357

351358
#=======================End of layer: runtimes_2 =================
352359
FROM runtimes_2 AS runtimes_3

ubuntu/standard/7.0/tools/runtime_configs/php/8.2.5 renamed to al2/x86_64/standard/5.0/tools/runtime_configs/php/8.2.7

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ configure_option "--with-libedit"
55

66
PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"
77

8-
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.2.5
8+
#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.2.7
99
#Don't change beyond this line
1010

1111
configure_option "--enable-gd"
@@ -15,6 +15,6 @@ configure_option "--with-mhash"
1515

1616
configure_option -D "--with-xmlrpc"
1717

18-
install_package "https://www.php.net/distributions/php-8.2.5.tar.bz2"
18+
install_package "https://www.php.net/distributions/php-8.2.7.tar.bz2"
1919
install_xdebug "3.2.0"
2020
enable_builtin_opcache

ubuntu/standard/7.0/tools/runtime_configs/python/3.11.2 renamed to al2/x86_64/standard/5.0/tools/runtime_configs/python/3.11.4

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ export PYTHON_CONFIGURE_OPTS="\
33
--enable-loadable-sqlite-extensions"
44

55
# Don't change below this line.
6-
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.11.2
6+
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.11.4
77

8-
# require_gcc
8+
#require_gcc
99
prefer_openssl11
1010
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
1111
export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
1212
install_package "openssl-1.1.1s" "https://www.openssl.org/source/openssl-1.1.1s.tar.gz#c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa" mac_openssl --if has_broken_mac_openssl
1313
install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline
1414
if has_tar_xz_support; then
15-
install_package "Python-3.11.2" "https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tar.xz#29e4b8f5f1658542a8c13e2dd277358c9c48f2b2f7318652ef1675e402b9d2af" standard verify_py311 copy_python_gdb ensurepip
15+
install_package "Python-3.11.4" "https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tar.xz#2f0e409df2ab57aa9fc4cbddfb976af44e4e55bf6f619eee6bc5c2297264a7f6" standard verify_py311 copy_python_gdb ensurepip
1616
else
17-
install_package "Python-3.11.2" "https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tgz#2411c74bda5bbcfcddaf4531f66d1adc73f247f529aee981b029513aefdbf849" standard verify_py311 copy_python_gdb ensurepip
17+
install_package "Python-3.11.4" "https://www.python.org/ftp/python/3.11.4/Python-3.11.4.tgz#85c37a265e5c9dd9f75b35f954e31fbfc10383162417285e30ad25cc073a0d63" standard verify_py311 copy_python_gdb ensurepip
1818
fi

al2/x86_64/standard/corretto11/Dockerfile

+55-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ RUN set -ex \
2121
&& touch ~/.ssh/known_hosts \
2222
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H github.com >> ~/.ssh/known_hosts \
2323
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
24-
&& chmod 600 ~/.ssh/known_hosts
24+
&& chmod 600 ~/.ssh/known_hosts \
25+
&& yum install -y -q make gettext-devel gcc openssl-devel curl-devel expat-devel
2526

2627
RUN useradd codebuild-user
2728

@@ -54,6 +55,59 @@ RUN set -ex \
5455
&& ln -s /usr/local/gradle-$GRADLE_VERSION/bin/gradle /usr/bin/gradle \
5556
&& rm -rf $GRADLE_PATH
5657

58+
# Install Git
59+
RUN set -ex \
60+
&& GIT_VERSION=2.41.0 \
61+
&& GIT_TAR_FILE=git-$GIT_VERSION.tar.gz \
62+
&& GIT_SRC=https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
63+
&& curl -L -o $GIT_TAR_FILE $GIT_SRC \
64+
&& tar zxf $GIT_TAR_FILE \
65+
&& cd git-$GIT_VERSION \
66+
&& make -j4 prefix=/usr \
67+
&& make install prefix=/usr \
68+
&& cd .. && rm -rf git-$GIT_VERSION \
69+
&& rm -rf $GIT_TAR_FILE /tmp/*
70+
71+
#Docker 23
72+
ENV DOCKER_BUCKET="download.docker.com" \
73+
DOCKER_CHANNEL="stable" \
74+
DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \
75+
DOCKER_COMPOSE_VERSION="2.17.3" \
76+
DOCKER_BUILDX_VERSION="0.11.0"
77+
78+
ENV DOCKER_SHA256="544262F4A3621222AFB79960BFAD4D486935DAB80893478B5CC9CF8EBAF409AE"
79+
ENV DOCKER_VERSION="23.0.6"
80+
81+
VOLUME /var/lib/docker
82+
83+
RUN set -ex \
84+
&& curl -fSL "https://${DOCKER_BUCKET}/linux/static/${DOCKER_CHANNEL}/x86_64/docker-${DOCKER_VERSION}.tgz" -o docker.tgz \
85+
&& echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \
86+
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
87+
&& rm docker.tgz \
88+
&& docker -v \
89+
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
90+
&& groupadd dockremap \
91+
&& useradd -g dockremap dockremap \
92+
&& echo 'dockremap:165536:65536' >> /etc/subuid \
93+
&& echo 'dockremap:165536:65536' >> /etc/subgid \
94+
&& wget -q "https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind" -O /usr/local/bin/dind \
95+
# Install docker compose as docker plugin and maintain docker-compose usage
96+
&& mkdir -p /usr/local/lib/docker/cli-plugins \
97+
&& curl -L https://github.com/docker/compose/releases/download/v${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose \
98+
&& chmod +x /usr/local/bin/dind /usr/local/lib/docker/cli-plugins/docker-compose \
99+
&& ln -s /usr/local/lib/docker/cli-plugins/docker-compose /usr/local/bin/docker-compose \
100+
# Ensure docker-compose and docker compose work
101+
&& docker-compose version \
102+
&& docker compose version \
103+
# Add docker buildx tool
104+
&& curl -L https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 -o /usr/local/lib/docker/cli-plugins/docker-buildx \
105+
&& chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx \
106+
&& ln -s /usr/local/lib/docker/cli-plugins/docker-buildx /usr/local/bin/docker-buildx \
107+
# Ensure docker-buildx works
108+
&& docker-buildx version \
109+
&& docker buildx version
110+
57111
# Configure SSH
58112
COPY ssh_config /root/.ssh/config
59113
COPY runtimes.yml /codebuild/image/config/runtimes.yml

0 commit comments

Comments
 (0)