Created
June 8, 2021 12:02
-
-
Save saggie/6a4a44c6d8bf2f0fc57e4ee51bad243a to your computer and use it in GitHub Desktop.
Install AWS CLI v2 in Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
# Installing dependent libraries... | |
RUN apt-get update && \ | |
apt-get install -y \ | |
curl \ | |
unzip | |
# Installing AWS CLI v2... | |
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ | |
unzip awscliv2.zip && \ | |
./aws/install && \ | |
rm awscliv2.zip && \ | |
rm -rf aws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment