Building and Deploying a Quarkus ThinJAR on OpenShift

How to build and deploy a stock quarkus ThinJAR on OpenShift (OKD):

I used the following CLI commands (name of the openshift project: airhacks, name of the service: qshift)

oc new-build --strategy docker --dockerfile - --code . --name qshift < ./src/main/docker/Dockerfile.jvm
oc start-build --from-dir . qshift --follow
oc new-app --image-stream airhacks/qshift --name qshift
oc expose svc qshift --port=8080

See you at Web, MicroProfile and Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home:


Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments