Last active
May 29, 2019 16:36
-
-
Save evanshortiss/fb65dbcf3bdc3b4bbf1ac5efbefbf851 to your computer and use it in GitHub Desktop.
Deploy a Quarkus Application on OpenShift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oc new-project quarkus-project --display-name="Quarkus Project" | |
oc new-build quay.io/redhat/ubi-quarkus-native-runner --binary --name=quarkus-quickstart -l app=quarkus-quickstart | |
# Replace filename with whatever your file is called, e.g quarkus-quickstart-1.0-SNAPSHOT-runner | |
# This command might report a file copy error - my build still worked despite this 👍 | |
oc start-build quarkus-quickstart --from-file=target/$FILENAME-runner --follow | |
oc new-app quarkus-quickstart | |
oc expose service quarkus-quickstart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment