File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ FROM --platform=$BUILDPLATFORM public.ecr.aws/amazonlinux/amazonlinux:2023 as in
33
44# Use ARG for platform-specific AWS CLI installer
55ARG TARGETARCH
6- # Get latest version of AWS CLI v2
7- ENV AWS_CLI_VERSION="2.16.17"
86
97# Set download URL based on architecture
108RUN if [ "$TARGETARCH" = "amd64" ]; then \
@@ -16,7 +14,7 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
1614 fi \
1715 && yum update -y \
1816 && yum install -y curl unzip \
19- && curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}-${AWS_CLI_VERSION} .zip" -o awscliv2.zip \
17+ && curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip" -o awscliv2.zip \
2018 && unzip awscliv2.zip \
2119 && ./aws/install --bin-dir /aws-cli-bin/
2220
You can’t perform that action at this time.
0 commit comments