We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a69856 commit 5391ac0Copy full SHA for 5391ac0
1 file changed
Dockerfile
@@ -3,8 +3,6 @@ FROM --platform=$BUILDPLATFORM public.ecr.aws/amazonlinux/amazonlinux:2023 as in
3
4
# Use ARG for platform-specific AWS CLI installer
5
ARG TARGETARCH
6
-# Get latest version of AWS CLI v2
7
-ENV AWS_CLI_VERSION="2.16.17"
8
9
# Set download URL based on architecture
10
RUN if [ "$TARGETARCH" = "amd64" ]; then \
@@ -16,7 +14,7 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
16
14
fi \
17
15
&& yum update -y \
18
&& yum install -y curl unzip \
19
- && curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}-${AWS_CLI_VERSION}.zip" -o awscliv2.zip \
+ && curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip" -o awscliv2.zip \
20
&& unzip awscliv2.zip \
21
&& ./aws/install --bin-dir /aws-cli-bin/
22
0 commit comments