@@ -29,7 +29,7 @@ the nodejs itself is included just to make the npm work.
29
29
Usage in Openshift
30
30
------------------
31
31
32
- In this example, we will assume that you are using the ` rhscl /perl-526-rhel7 ` image, available via ` perl:5.26 ` imagestream tag in Openshift.
32
+ In this example, we will assume that you are using the ` ubi8 /perl-526` image, available via ` perl:5.26 ` imagestream tag in Openshift.
33
33
To build a simple [ perl-sample-app] ( https://github.com/sclorg/dancer-ex.git ) application in Openshift:
34
34
35
35
```
@@ -70,10 +70,10 @@ To use the Perl image in a Dockerfile, follow these steps:
70
70
#### 1. Pull a base builder image to build on
71
71
72
72
```
73
- podman pull rhscl /perl-526-rhel7
73
+ podman pull ubi8 /perl-526
74
74
```
75
75
76
- An RHEL7 image ` rhscl /perl-526-rhel7 ` is used in this example.
76
+ An RHEL8 image ` ubi8 /perl-526` is used in this example.
77
77
78
78
#### 2. Pull and application code
79
79
@@ -96,7 +96,7 @@ For all these three parts, users can either setup all manually and use commands
96
96
##### 3.1 To use your own setup, create a Dockerfile with this content:
97
97
98
98
```
99
- FROM rhscl /perl-526-rhel7
99
+ FROM ubi8 /perl-526
100
100
101
101
# Add application sources
102
102
ADD app-src .
@@ -119,7 +119,7 @@ CMD exec httpd -C 'Include /opt/app-root/etc/httpd.conf' -D FOREGROUND
119
119
##### 3.2 To use the Source-to-Image scripts and build an image using a Dockerfile, create a Dockerfile with this content:
120
120
121
121
```
122
- FROM rhscl /perl-526-rhel7
122
+ FROM ubi8 /perl-526
123
123
124
124
# Add application sources to a directory that the assemble scriptexpects them
125
125
# and set permissions so that the container runs without root access
0 commit comments