Skip to content

Commit 5ee417c

Browse files
authored
Update Dockerfile
1 parent 7df3c88 commit 5ee417c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ FROM golang:1.23-alpine
77
RUN apk add --no-cache curl unzip make git build-base && \
88
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
99
unzip awscliv2.zip && \
10-
./aws/install -i /usr/local/aws-cli -b /usr/local/bin && \
11-
rm -rf aws awscliv2.zip
10+
./aws/install && \
11+
rm -rf aws awscliv2.zip && \
12+
export PATH=$PATH:/usr/local/bin
1213

1314
# Verify AWS CLI installation
1415
RUN aws --version

0 commit comments

Comments
 (0)