Skip to content

Instantly share code, notes, and snippets.

@vrishaligiri
Forked from monkut/Ubuntu1604py36Dockerfile
Created September 21, 2018 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrishaligiri/fac86ee61b99f638ea08d297b1c89234 to your computer and use it in GitHub Desktop.
Save vrishaligiri/fac86ee61b99f638ea08d297b1c89234 to your computer and use it in GitHub Desktop.
Base Docker image for ubuntu-16.04 & Python3.6
# docker build -t ubuntu1604py36
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y software-properties-common vim
RUN add-apt-repository ppa:jonathonf/python-3.6
RUN apt-get update
RUN apt-get install -y build-essential python3.6 python3.6-dev python3-pip python3.6-venv
RUN apt-get install -y git
# update pip
RUN python3.6 -m pip install pip --upgrade
RUN python3.6 -m pip install wheel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment