Last active
December 6, 2022 07:44
-
-
Save katzefudder/f683b17a82714d5d5499d1b4390e0a4d to your computer and use it in GitHub Desktop.
AWS CLI dockerized with Alpine Linux
This file contains 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 alpine:3.14 | |
ENV AWSCLI_VERSION "1.20.7" | |
RUN apk add --update \ | |
python3 \ | |
python3-dev \ | |
py-pip \ | |
build-base \ | |
&& pip install awscli==$AWSCLI_VERSION --upgrade --user \ | |
&& rm -rf /var/cache/apk/* | |
ENTRYPOINT ["/root/.local/bin/aws"] |
docker run -ti awscli-alpine --version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker build --force-rm --no-cache -t awscli-alpine .