Skip to content

Commit 9750125

Browse files
author
Jiyeon Baek
committed
fix: update AWS CLI version to 2.27.25-r0 in Dockerfile
1 parent 09345c0 commit 9750125

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

Dockerfile

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM alpine:3.22
22

3-
ENV AWS_CLI=2.27.19
3+
ENV AWS_CLI=2.27.25-r0
44

55
RUN apk update \
66
&& apk add --no-cache \
@@ -10,18 +10,7 @@ RUN apk update \
1010
jq \
1111
patch \
1212
curl \
13-
unzip
13+
unzip \
14+
aws-cli=${AWS_CLI}
1415

15-
# install awscli v2. see https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
16-
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI}.zip" -o /tmp/awscliv2.zip \
17-
&& unzip /tmp/awscliv2.zip -d /tmp/ \
18-
&& /tmp/aws/install \
19-
&& rm /tmp/awscliv2.zip \
20-
&& rm -rf /tmp/aws
21-
22-
# install amazon-ecr-credential-helper
23-
RUN curl -L "https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.9.1/linux-amd64/docker-credential-ecr-login" -o "/usr/bin/docker-credential-ecr-login" \
24-
&& chmod a+x /usr/bin/docker-credential-ecr-login
25-
26-
27-
COPY script /script
16+
COPY script /script

0 commit comments

Comments
 (0)