December 2019
Intermediate to advanced
314 pages
6h 51m
English
Start your Minishift environment as usual and execute the following command to build the native executable Docker image of your application and deploy it in a Pod:
$ mvn package -Pnative -Dnative-image.docker-build=true
Building the native image of your application will take a minute or so. Next, we will upload the application as a binary build into a Minishift namespace. You should already be familiar with these steps, so we will just include the script to be executed, along with some inline comments. Execute each line and verify that the output is successful for all the commands:
#Create a new Project named quarkus-customer-service$ oc new-project quarkus-customer-service# Binary Build definition $ oc ...
Read now
Unlock full access