Skip to content

Commit bf3993e

Browse files
authored
Update Dockerfile
1 parent 2c40448 commit bf3993e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44
FROM cimg/go:1.23
55

66
### Install dependent packages
7-
RUN sudo apt-get update -y && sudo apt-get install -y --no-install-recommends zip curl unzip make git build-essential awscli && \
8-
rm -rf /var/lib/apt/lists/*
7+
RUN sudo apt-get update -y && sudo apt-get install -y --no-install-recommends zip curl unzip make git build-essential
98

10-
# Verify AWS CLI installation
9+
# Install AWS CLI v2
10+
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
11+
unzip awscliv2.zip && \
12+
sudo ./aws/install -i /usr/local/aws-cli -b /usr/local/bin && \
13+
rm -rf awscliv2.zip
14+
15+
# Verify AWS CLI v2 installation
1116
RUN aws --version
1217

1318
# Install sql-migrate

0 commit comments

Comments
 (0)