You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -64,10 +64,10 @@ To use the Ruby image in a Dockerfile, follow these steps:
64
64
#### 1. Pull a base builder image to build on
65
65
66
66
```
67
-
podman pull ubi8/ruby-31
67
+
podman pull ubi8/ruby-33
68
68
```
69
69
70
-
An RHEL8 image `ubi8/ruby-31` is used in this example.
70
+
An RHEL8 image `ubi8/ruby-33` is used in this example.
71
71
72
72
#### 2. Pull and application code
73
73
@@ -85,11 +85,11 @@ This step usually consists of at least these parts:
85
85
* installing the dependencies
86
86
* setting the default command in the resulting image
87
87
88
-
For all these three parts, users can use the Source-to-Image scripts inside the image ([3.1.](#31-to-use-the-source-to-image-scripts-and-build-an-image-using-a-dockerfile-create-a-dockerfile-with-this-content)), or users can either setup all manually and use commands `ruby`, `bundle` and `rackup` explicitly in the Dockerfile ([3.2.](#32-to-use-your-own-setup-create-a-dockerfile-with-this-content))
88
+
For all these three parts, users can use the Source-to-Image scripts inside the image ([3.3.](#33-to-use-the-source-to-image-scripts-and-build-an-image-using-a-dockerfile-create-a-dockerfile-with-this-content)), or users can either setup all manually and use commands `ruby`, `bundle` and `rackup` explicitly in the Dockerfile ([3.3.](#33-to-use-your-own-setup-create-a-dockerfile-with-this-content))
89
89
90
-
##### 3.1 To use the Source-to-Image scripts and build an image using a Dockerfile, create a Dockerfile with this content:
90
+
##### 3.3 To use the Source-to-Image scripts and build an image using a Dockerfile, create a Dockerfile with this content:
91
91
```
92
-
FROM ubi8/ruby-31
92
+
FROM ubi8/ruby-33
93
93
94
94
# Add application sources to a directory that the assemble scriptexpects them
95
95
# and set permissions so that the container runs without root access
@@ -108,9 +108,9 @@ RUN /usr/libexec/s2i/assemble
108
108
CMD /usr/libexec/s2i/run
109
109
```
110
110
The s2i scripts are used to set-up and run common Ruby applications. More information about the scripts can be found in [Source-to-Image](#source-to-image-framework-and-scripts) section.
111
-
##### 3.2 To use your own setup, create a Dockerfile with this content:
111
+
##### 3.3 To use your own setup, create a Dockerfile with this content:
0 commit comments