Skip to content

Instantly share code, notes, and snippets.

@kwoods
Created March 15, 2021 16:24
Show Gist options
  • Save kwoods/a1fd226a92f6121d3ad2a14af20333f0 to your computer and use it in GitHub Desktop.
Save kwoods/a1fd226a92f6121d3ad2a14af20333f0 to your computer and use it in GitHub Desktop.
Testing out Monolithic AWS Dockerfile
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