Last active
July 11, 2021 22:56
-
-
Save john-science/d43102fd64d7bbd406e0f03fb7441bca to your computer and use it in GitHub Desktop.
Installing Python v3.8 dev on Ubuntu 20.04 via Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt-get update && \ | |
apt-get install --no-install-recommends -y python3-pip python3.8-dev && \ | |
apt-get install vim && \ | |
apt-get install git |
@theJollySin I'm not using this dockerfile anyway, so I'm fine with you upgrading it :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can move to Ubuntu 20.04. If Ubuntu 18.04 and Python 3.8 are essential to you, you can install Python from source and then use
update-alternatives
.See this: https://gist.github.com/nanguoyu/0f67ce488da4b3ca179d3af0c8cdc699
Miniconda maybe also a choice.