Created
July 19, 2018 17:22
-
-
Save djangofan/4321101f1c264e1ad3e864860334e97b to your computer and use it in GitHub Desktop.
Install AWS CLI on docker container
This file contains hidden or 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 tomcat:8.5-jre8-alpine | |
#Metadata | |
LABEL version="1.0-SNAPSHOT" | |
LABEL description="Run ss a service" | |
#Install AWS CLI | |
RUN apk update && \ | |
apk add --no-cache python tar && \ | |
python -m ensurepip && \ | |
rm -r /usr/lib/python*/ensurepip && \ | |
pip install --upgrade pip setuptools && \ | |
rm -r /root/.cache | |
RUN apk add -U unzip && rm -rf /var/cache/apk/* | |
RUN pip install awscli | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment