Update from upstream - F35 + Py3.10

This commit is contained in:
Lumir Balhar 2021-12-10 11:04:56 +01:00
commit 9e2a157e7c
16 changed files with 385 additions and 188 deletions

View file

@ -11,7 +11,7 @@ function should_collectstatic() {
function virtualenv_bin() {
# New versions of Python (>3.6) should use venv module
# from stdlib instead of virtualenv package
python3.9 -m venv $1
python3.10 -m venv $1
}
# Install pipenv or micropipenv to the separate virtualenv to isolate it

View file

@ -5,12 +5,12 @@ NAMESPACE=centos
[[ $DISTRO =~ rhel* ]] && NAMESPACE=rhscl
cat <<EOF
This is a S2I python-3.9 ${DISTRO} base image:
This is a S2I python-3.10 ${DISTRO} base image:
There are multiple ways how to run the image, see documentation at:
https://github.com/sclorg/s2i-python-container/blob/master/3.9/README.md
https://github.com/sclorg/s2i-python-container/blob/master/3.10/README.md
To use it in Openshift, run:
oc new-app python:3.9~https://github.com/sclorg/s2i-python-container.git --context-dir=3.9/test/setup-test-app/
oc new-app python:3.10~https://github.com/sclorg/s2i-python-container.git --context-dir=3.10/test/setup-test-app/
You can then run the resulting image via:
oc get pods