Building and deploying a Quarkus application on OKD

Minishift's dashboard contains a set of templates that can be used to build our applications quickly. At the time of writing, there's no Quarkus template; however, we can easily build and deploy our image as a binary build that conveys the Dockerfile that we have already tested.

A binary build is a feature that allows developers to upload artifacts from a binary source instead of pulling the source from a Git repository URL.

For this purpose, we will be using the oc client tool, which is the Swiss Army knife that's used to configure OpenShift and its objects.

The following set of commands is contained in the deploy-openshift.sh file, which is located in the Chapter03 directory of this book's ...

Get Hands-On Cloud-Native Applications with Java and Quarkus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.