Skip to content

Instantly share code, notes, and snippets.

@belenaj
Last active September 9, 2020 08:59
Show Gist options
  • Save belenaj/e0a3018165dd00a5215626f64327ff81 to your computer and use it in GitHub Desktop.
Save belenaj/e0a3018165dd00a5215626f64327ff81 to your computer and use it in GitHub Desktop.
[aws cli in Docker Alpine] #docker #awscli
FROM alpine:3.10.3
ENV AWSCLI_VERSION "1.14.10"
RUN apk add --no-cache \
openssh \
python \
py-pip
# installing aws cli
RUN pip install awscli==$AWSCLI_VERSION --upgrade --user \
&& mv /root/.local/bin/* /usr/local/bin \
&& apk --purge -v del py-pip \
&& rm -rf /var/cache/apk/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment