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 ubi10/ruby-33
67
+
podman pull ubi10/ruby-40
68
68
```
69
69
70
-
An RHEL10 image `ubi10/ruby-33` is used in this example.
70
+
An RHEL10 image `ubi10/ruby-40` 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.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))
88
+
For all these three parts, users can use the Source-to-Image scripts inside the image ([4.0.](#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 ([4.0.](#33-to-use-your-own-setup-create-a-dockerfile-with-this-content))
89
89
90
-
##### 3.3 To use the Source-to-Image scripts and build an image using a Dockerfile, create a Dockerfile with this content:
90
+
##### 4.0 To use the Source-to-Image scripts and build an image using a Dockerfile, create a Dockerfile with this content:
91
91
```
92
-
FROM ubi10/ruby-33
92
+
FROM ubi10/ruby-40
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.3 To use your own setup, create a Dockerfile with this content:
111
+
##### 4.0 To use your own setup, create a Dockerfile with this content:
112
112
```
113
-
FROM ubi10/ruby-33
113
+
FROM ubi10/ruby-40
114
114
115
115
USER 0
116
116
ADD app-src ./
@@ -225,5 +225,5 @@ See also
225
225
--------
226
226
Dockerfile and other sources are available on https://github.com/sclorg/s2i-ruby-container.
227
227
In that repository you also can find another versions of Ruby environment Dockerfiles.
228
-
The Dockerfile for RHEL8 is called `Dockerfile.rhel8`, for RHEL9 it's `Dockerfile.rhel9`,
229
-
for RHEL10 it's `Dockerfile.rhel10`, for CentOS Stream 10 it's `Dockerfile.c10s` and the Fedora Dockerfile is called Dockerfile.fedora.
228
+
The Dockerfile for RHEL9 is called `Dockerfile.rhel9`, for RHEL10 it's `Dockerfile.rhel10`,
229
+
for CentOS Stream 10 it's `Dockerfile.c10s` and the Fedora Dockerfile is called `Dockerfile.fedora`.
0 commit comments