Skip to content

Commit ed61170

Browse files
authored
Update Dockerfile
1 parent 00079fc commit ed61170

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44
FROM golang:1.23-alpine
55

66
### Install dependent packages
7-
RUN apk add --no-cache curl unzip make git build-base && \
8-
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
9-
unzip awscliv2.zip && \
10-
./aws/install -i /usr/local/aws-cli -b /usr/local/bin && \
11-
export PATH="/usr/local/bin:$PATH" && \
12-
rm -rf aws awscliv2.zip
7+
RUN apk update && apk add --no-cache curl unzip make git build-base aws-cli && \
8+
rm -rf /var/cache/apk/*
139

1410
# Verify AWS CLI installation
1511
RUN aws --version

0 commit comments

Comments
 (0)