Skip to content

Instantly share code, notes, and snippets.

Created Jul 19, 2018
What would you like to do?
Install AWS CLI on docker container
FROM tomcat:8.5-jre8-alpine
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