Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Last active August 7, 2022 14:54
Show Gist options
  • Select an option

  • Save KyMidd/ad3d4d3f1fcdd783924a410fd6c8f740 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/ad3d4d3f1fcdd783924a410fd6c8f740 to your computer and use it in GitHub Desktop.
FROM --platform=linux/amd64 ubuntu:20.04
# Install tooling
RUN apt-get update && apt-get install -y \
less \
(removed)
python3-pip \
&& rm -rf /var/lib/apt/lists/*
# Install boto3
RUN pip3 install boto3
# copy over the start.py script
COPY start.py start.py
# make the script executable
RUN chmod +x start.py
# set the entrypoint to the start.py script
ENTRYPOINT ["python3","./start.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment