Last active
September 9, 2020 08:59
-
-
Save belenaj/e0a3018165dd00a5215626f64327ff81 to your computer and use it in GitHub Desktop.
[aws cli in Docker Alpine] #docker #awscli
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.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