Skip to content

Instantly share code, notes, and snippets.

@arthuralvim
Forked from katzefudder/Dockerfile
Created February 5, 2020 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arthuralvim/5ea3ba8d1ed1e9a221c50603ac2c2b6e to your computer and use it in GitHub Desktop.
Save arthuralvim/5ea3ba8d1ed1e9a221c50603ac2c2b6e to your computer and use it in GitHub Desktop.
AWS CLI dockerized with Alpine Linux
FROM alpine:3.7
ENV AWSCLI_VERSION "1.14.10"
RUN apk add --update \
python \
python-dev \
py-pip \
build-base \
&& pip install awscli==$AWSCLI_VERSION --upgrade --user \
&& apk --purge -v del py-pip \
&& rm -rf /var/cache/apk/*
ENTRYPOINT ["/root/.local/bin/aws"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment