Distgen generated content
This commit is contained in:
parent
fb5763a161
commit
3402cd789a
17 changed files with 336 additions and 29 deletions
|
|
@ -74,7 +74,7 @@ To use the Python image in a Dockerfile, follow these steps:
|
|||
#### 1. Pull a base builder image to build on
|
||||
|
||||
```
|
||||
podman pull registry.fedoraproject.org/f33/python3
|
||||
podman pull registry.access.redhat.com/ubi8/python-39
|
||||
```
|
||||
|
||||
#### 2. Pull and application code
|
||||
|
|
@ -105,7 +105,7 @@ prepared for a future flawless switch to a newer or different platform.
|
|||
To use the Source-to-Image scripts and build an image using a Dockerfile, create a Dockerfile with this content:
|
||||
|
||||
```
|
||||
FROM registry.fedoraproject.org/f33/python3
|
||||
FROM registry.access.redhat.com/ubi8/python-39
|
||||
|
||||
# Add application sources to a directory that the assemble script expects them
|
||||
# and set permissions so that the container runs without root access
|
||||
|
|
@ -125,7 +125,7 @@ If you decide not to use the Source-to-Image scripts, you will need to manually
|
|||
Example Dockerfile for a simple Django application:
|
||||
|
||||
```
|
||||
FROM registry.fedoraproject.org/f33/python3
|
||||
FROM registry.access.redhat.com/ubi8/python-39
|
||||
|
||||
# Add application sources with correct permissions for OpenShift
|
||||
USER 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue