New image Fedora 32 + Python 3.8 (synced from upstream)
This commit is contained in:
parent
1425f4c95f
commit
4fb1f66d7a
9 changed files with 56 additions and 79 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -1,10 +1,10 @@
|
|||
# This image provides a Python 3.7 environment you can use to run your Python
|
||||
# This image provides a Python 3.8 environment you can use to run your Python
|
||||
# applications.
|
||||
FROM registry.fedoraproject.org/f31/s2i-base:latest
|
||||
FROM registry.fedoraproject.org/f32/s2i-base:latest
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENV PYTHON_VERSION=3.7 \
|
||||
ENV PYTHON_VERSION=3.8 \
|
||||
PATH=$HOME/.local/bin/:$PATH \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
PYTHONIOENCODING=UTF-8 \
|
||||
|
|
@ -29,13 +29,13 @@ on most platforms."
|
|||
LABEL summary="$SUMMARY" \
|
||||
description="$DESCRIPTION" \
|
||||
io.k8s.description="$DESCRIPTION" \
|
||||
io.k8s.display-name="Python 3.7" \
|
||||
io.k8s.display-name="Python 3.8" \
|
||||
io.openshift.expose-services="8080:http" \
|
||||
io.openshift.tags="builder,python,python37,python-37,rh-python37" \
|
||||
io.openshift.tags="builder,python,python38,python-38,rh-python38" \
|
||||
com.redhat.component="$NAME" \
|
||||
name="$FGC/$NAME" \
|
||||
version="$VERSION" \
|
||||
usage="s2i build https://github.com/sclorg/s2i-python-container.git --context-dir=3.7/test/setup-test-app/ $FGC/$NAME python-sample-app" \
|
||||
usage="s2i build https://github.com/sclorg/s2i-python-container.git --context-dir=3.8/test/setup-test-app/ $FGC/$NAME python-sample-app" \
|
||||
maintainer="SoftwareCollections.org <sclorg@redhat.com>"
|
||||
|
||||
RUN INSTALL_PKGS="python3 python3-devel python3-setuptools python3-pip python3-virtualenv \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue