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
$ sudo docker run -v /home/ben/workspace:/workspace -it alpine:3.19 | |
/ # apk add wget python3 | |
... | |
/ # wget https://github.com/indygreg/python-build-standalone/releases/download/20240224/cpython-3.12.2+20240224-x86_64-unknown-linux-musl-install_only | |
.tar.gz | |
... | |
/ # tar xfz cpython-3.12.2+20240224-x86_64-unknown-linux-musl-install_only.tar.gz | |
/ # python/bin/python -m venv /venv | |
Error: Command '['/venv/bin/python', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. | |
/ # /venv/bin/python -m ensurepip --upgrade --default-pip |