Created
March 15, 2021 16:24
-
-
Save kwoods/a1fd226a92f6121d3ad2a14af20333f0 to your computer and use it in GitHub Desktop.
Testing out Monolithic AWS Dockerfile
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 python:3.9-buster | |
ENV AWSCLI_VERSION=2.1.30 | |
RUN apt-get update && \ | |
apt-get install jq make zip git groff -y | |
RUN cd /tmp && \ | |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWSCLI_VERSION}.zip" -o "awscliv2.zip" && \ | |
unzip awscliv2.zip && \ | |
./aws/install && \ | |
rm -rf /tmp/aws && rm /tmp/awscliv2.zip | |
RUN pip install --upgrade gimme-aws-creds | |
RUN mkdir /usr/app | |
# COPY . /usr/app | |
WORKDIR /usr/app | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment