Skip to content

Commit 0db1710

Browse files
authored
Merge pull request #33824 from iocanel/image-doc-fix
Replace references of s2i with openshift
2 parents d862592 + 971b9d9 commit 0db1710

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/src/main/asciidoc/container-image.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc
66
= Container Images
77
include::_attributes.adoc[]
88
:categories: cloud
9-
:summary: Learn how to build and push container images with Jib, S2I or Docker as part of the Quarkus build.
9+
:summary: Learn how to build and push container images with Jib, OpenShift or Docker as part of the Quarkus build.
1010

1111
Quarkus provides extensions for building (and pushing) container images. Currently, it supports:
1212

1313
- <<#jib,Jib>>
1414
- <<#docker,Docker>>
15-
- <<#s2i,S2I>>
15+
- <<#openshift,OpenShift>>
1616
- <<#buildpack,Buildpack>>
1717
1818
== Container Image extensions
@@ -118,20 +118,20 @@ The `quarkus-container-image-docker` extension is capable of https://docs.docker
118118

119119
NOTE: `docker buildx build` ONLY supports https://docs.docker.com/engine/reference/commandline/buildx_build/#load[loading the result of a build] to `docker images` when building for a single platform. Therefore, if you specify more than one argument in the `quarkus.docker.buildx.platform` property, the resulting images will not be loaded into `docker images`. If `quarkus.docker.buildx.platform` is omitted or if only a single platform is specified, it will then be loaded into `docker images`.
120120

121-
[#s2i]
122-
=== S2I
121+
[#openshift]
122+
=== OpenShift
123123

124-
The extension `quarkus-container-image-s2i` is using S2I binary builds in order to perform container builds inside the OpenShift cluster.
124+
The extension `quarkus-container-image-openshift` is using OpenShift binary builds in order to perform container builds inside the OpenShift cluster.
125125
The idea behind the binary build is that you just upload the artifact and its dependencies to the cluster and during the build they will be merged to a builder image (defaults to `fabric8/s2i-java`).
126126

127127
The benefit of this approach, is that it can be combined with OpenShift's `DeploymentConfig` that makes it easy to roll out changes to the cluster.
128128

129129
To use this feature, add the following extension to your project.
130130

131-
:add-extension-extensions: container-image-s2i
131+
:add-extension-extensions: container-image-openshift
132132
include::{includes}/devtools/extension-add.adoc[]
133133

134-
S2I builds require creating a `BuildConfig` and two `ImageStream` resources, one for the builder image and one for the output image.
134+
OpenShift builds require creating a `BuildConfig` and two `ImageStream` resources, one for the builder image and one for the output image.
135135
The creation of such objects is being taken care of by the Quarkus Kubernetes extension.
136136

137137

@@ -202,7 +202,7 @@ NOTE: If no registry is set (using `quarkus.container-image.registry`) then `doc
202202

203203
It does not make sense to use multiple extension as part of the same build. When multiple container image extensions are present, an error will be raised to inform the user. The user can either remove the unneeded extensions or select one using `application.properties`.
204204

205-
For example, if both `container-image-docker` and `container-image-s2i` are present and the user needs to use `container-image-docker`:
205+
For example, if both `container-image-docker` and `container-image-openshift` are present and the user needs to use `container-image-docker`:
206206

207207
[source,properties]
208208
----
@@ -253,8 +253,8 @@ In addition to the generic container image options, the `container-image-docker`
253253

254254
include::{generated-dir}/config/quarkus-container-image-docker.adoc[opts=optional, leveloffset=+1]
255255

256-
=== S2I Options
256+
=== OpenShift Options
257257

258-
In addition to the generic container image options, the `container-image-s2i` also provides the following options:
258+
In addition to the generic container image options, the `container-image-openshift` also provides the following options:
259259

260-
include::{generated-dir}/config/quarkus-container-image-s2i.adoc[opts=optional, leveloffset=+1]
260+
include::{generated-dir}/config/quarkus-container-image-openshift.adoc[opts=optional, leveloffset=+1]

0 commit comments

Comments
 (0)