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:

Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition the podcast:

Stay in touch:


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