Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.47 KB

README.md

File metadata and controls

68 lines (41 loc) · 1.47 KB

Push a WildFly Docker image to Azure Container Registry

acr/wildfly/README.md

Prerequisites

This example assumes you have previously completed the following examples:

  1. Create an Azure Resource Group
  2. Create an Azure Container Registry

Build the WAR file

To build the WAR file use the following command line:

  mvn package

Build and push the Docker image to your Azure Container Registry

To build and push the Docker image to your ACR use the command line below:

  export ACR_WILDFLY_IMAGE=wildfly:latest

  az acr build --registry $ACR_NAME --image $ACR_WILDFLY_IMAGE .

Cleanup

Do NOT forget to remove the resources once you are done running the example.

3m