Add note about Python
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2020-10-09 22:59:04 +00:00
parent ece2e571a0
commit cbb26e466c

View File

@ -9,5 +9,20 @@ It includes:
* Debian
* vscode (web)
* Go
* Python
# Future: Adding Python
The following could be used to add Python. Upstream Python only provides source based downloads and requires building from source. Requires GCC and some other build-time dependancies. I might use Drone CICD for building Python and then just copy the artifacts into my dev environment.
```Dockerfile
# Install Python
RUN curl -L -O https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz && \
tar xvf Python-3.9.0.tar.xz && \
rm -f Python-3.9.0.tar.xz && \
cd Python-3.9.0 && \
./configure --enable-optimizations && \
make -j 14 && \
sudo make altinstall && \
cd .. && \
rm -rf Python-3.9.0
```