Skip to content

Commit

Permalink
Fix S2I Guides to use the proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Jun 24, 2019
1 parent 4302e0d commit 0530f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/openshift-s2i-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ We are going to create an OpenShift `build` executing it:
[source,shell, subs="attributes"]
----
# To build the image on OpenShift
oc new-app quay.io/quarkus/centos-quarkus-native-s2i~{quickstarts-clone-url} --context-dir=getting-started --name=quarkus-quickstart-native
oc new-app quay.io/quarkus/ubi-quarkus-native-s2i:{graalvm-version}~{quickstarts-clone-url} --context-dir=getting-started --name=quarkus-quickstart-native
oc logs -f bc/quarkus-quickstart-native
# To create the route
Expand Down Expand Up @@ -111,7 +111,7 @@ The end result is an image that is less than 40 MB in size (compressed) and does
The minimal build is depending on the S2I build since it is using the output (native runnable application) from the S2I build. However, you do not need to create an application with `oc new-app`. Instead you could use `oc new-build` like this:
[source, shell, subs="attributes"]
----
oc new-build quay.io/quarkus/centos-quarkus-native-s2i~{quickstarts-clone-url} \
oc new-build quay.io/quarkus/ubi-quarkus-native-s2i:{graalvm-version}~{quickstarts-clone-url} \
--context-dir=getting-started --name=quarkus-quickstart-native
----
====
Expand Down

0 comments on commit 0530f42

Please sign in to comment.