This example assumes you have previously completed the following examples:
To build the WAR file use the following command line:
mvn packageTo build and push the Docker image to your ACR use the command lines below:
export ACR_TOMCAT_IMAGE=tomcat:latest
az acr build --registry $ACR_NAME --image $ACR_TOMCAT_IMAGE .Do NOT forget to remove the resources once you are done running the example.
2m