Using alpine package for aws cli

This commit is contained in:
Shubham Agrawal 2021-02-10 17:11:16 +05:30
parent 6647ff2107
commit 937b910001

View File

@ -1,9 +1,5 @@
FROM alpine:3.12 FROM alpine:3.12
RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl RUN apk add --no-cache ca-certificates git git-lfs openssh curl perl aws-cli
RUN apk update && apk add git groff python3 python3-dev py3-pip py3-six py3-urllib3 py3-colorama build-base libffi-dev openssl-dev && \
pip install 'awscli==1.19.5' && \
apk del python3-dev py3-pip build-base libffi-dev openssl-dev && \
rm -rf /var/cache/apk/*
RUN aws --version RUN aws --version
ADD posix/* /usr/local/bin/ ADD posix/* /usr/local/bin/