File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM alpine:3.22
22
3- ENV AWS_CLI=2.27.19
3+ ENV AWS_CLI=2.27.25-r0
44
55RUN 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
You can’t perform that action at this time.
0 commit comments