This example assumes you have previously completed the following examples:
To build the WAR file use the following command line:
mvn package
To build and push the Docker image to your ACR use the command line below:
export ACR_GLASSFISH_IMAGE=glassfish:latest
az acr build --resource-group $RESOURCE_GROUP --registry $ACR_NAME --image $ACR_GLASSFISH_IMAGE .
You can then use the following command to display the content on the ACR:
az acr repository list --name $ACR_NAME --output table
Do NOT forget to remove the resources once you are done running the example.
3m