Skip to content

Instantly share code, notes, and snippets.

@dtsmith2001
Created April 2, 2021 18:13
Show Gist options
  • Save dtsmith2001/a264ba34b78d47b04cc3d5758b75832a to your computer and use it in GitHub Desktop.
Save dtsmith2001/a264ba34b78d47b04cc3d5758b75832a to your computer and use it in GitHub Desktop.
Ubuntu 20 Docker Image - experiment without fear of destroying your desktop
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt upgrade && \
apt -y install ca-certificates curl gnupg2 sudo wget build-essentials \
gcc-9 g++-9 python3-minimal python3-venv python3-dev
RUN curl https://bootstrap.pypa.io/get-pip.py -o - | /usr/bin/python${python_version}
RUN /usr/bin/python${python_version} -m pip install --upgrade pip
RUN /usr/bin/python${python_version} -m pip install --upgrade setuptools
RUN /usr/bin/python${python_version} -m pip install --upgrade wheel
RUN /usr/bin/python${python_version} -m pip install awscli csvkit ipython jupyter ipdb \
numpy pandas seaborn opencv-python sklearn scikit-image boto3 pdpipe \
icecream
RUN apt clean && rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment