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: airhacks.io.


NEW airhacks.com workshops: MicroProfile with Quarkus and Micro Frontends with Web Components at MUC airport

airhacks.fm the podcast:

Stay in touch: airhacks.news.

Comments:

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