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
This guide describes how to deploy {project-name} applications to OpenShift by using Docker build.
15
+
As an application developer, you can deploy your applications to {openshift} by using the Docker build strategy as a deployment option.
16
+
This functionality is provided by the `quarkus-openshift` extension.
16
17
17
-
As an application developer, you can deploy your Quarkus applications to OpenShift by using the Docker build strategy as a deployment option.
18
-
This functionality is provided by the `quarkus-openshift` extension, which supports multiple deployment options, including the Docker build strategy and the Source-to-Image (S2I) strategy.
18
+
The container gets built inside the {openshift} cluster and is provided as an image stream.
19
+
20
+
Your Quarkus project includes pregenerated Dockerfiles with instructions.
21
+
When you want to use a custom Dockerfile, you must add the file in the `src/main/docker` directory or anywhere inside the module. Additionally, you must set the path to your Dockerfile by using the `quarkus.openshift.jvm-dockerfile` property.
19
22
20
23
== Prerequisites
21
24
22
-
* You have OpenJDK 17 or later installed.
25
+
* You have OpenJDK {JDK-ver-all} installed.
23
26
* You have set the `JAVA_HOME` environment variable to the location of the Java SDK.
24
27
* You have Apache Maven {maven-version} installed.
25
28
* You have a Quarkus project that includes the `quarkus-openshift` extension.
26
29
//** To add the Quarkus OpenShift extension, see xref:proc_adding-the-quarkus-openshift-extension_quarkus-openshift[Adding the {ProductName} OpenShift extension].
27
-
* You have access to an OpenShift cluster and the latest compatible version of the `oc` tool installed.
30
+
* You have access to a {openshift} cluster and the latest compatible version of the `oc` tool installed.
31
+
* You are working in the correct OpenShift project namespace.
2024-09-17 10:23:25,254 INFO [io.quarkus] (main) getting-started 1.0.0-SNAPSHOT on JVM (powered by Quarkus {QuarkusCore}) started in 0.653s. Listening on: http://0.0.0.0:8080
110
+
2024-09-17 10:23:25,254 INFO [io.quarkus] (main) getting-started 1.0.0-SNAPSHOT on JVM (powered by Quarkus {QuarkusCore}) started in 0.653s. Listening on: http://0.0.0.0:8080
113
111
2024-09-17 10:23:25,281 INFO [io.quarkus] (main) Profile prod activated.
0 commit comments