We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df5812 commit 8459803Copy full SHA for 8459803
scripts/build_python.sh
@@ -7,8 +7,8 @@ py_version="${1}"
7
# Install Python interpreter under e.g. /lang/python/3.11/ (no patch version).
8
"${PYENV_ROOT}/plugins/python-build/bin/python-build" \
9
"${py_version}" \
10
- "/lang/python/${py_version%.*}"
11
-"/lang/python/${py_version%.*}/bin/python" -m pip install -U pip
+ "/lang/python/${py_version%[-.]*}"
+"/lang/python/${py_version%[-.]*}/bin/python" -m pip install -U pip
12
13
# Clean up some unnecessary files to reduce image size bloat.
14
find /lang/python/ -depth \
0 commit comments