Skip to content

Instantly share code, notes, and snippets.

@heartonbit
Last active November 19, 2020 08: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 heartonbit/e74264b1ed61529401c53dc3c016b094 to your computer and use it in GitHub Desktop.
Save heartonbit/e74264b1ed61529401c53dc3c016b094 to your computer and use it in GitHub Desktop.
[Dockerfile] Install python3 on Ubuntu
# Install python
RUN apt-get update \
&& apt-get install -y python3-pip python3-dev git \
&& cd /usr/local/bin \
&& ln -s /usr/bin/python3 python \
&& pip3 install --upgrade pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment