You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Quickstart: Build and push Java container images to Azure Container Registry
11
+
# Quickstart: Build and push container images of the Java Spring Boot app to Azure Container Registry
12
12
13
-
This quickstart shows you how to build a containerized Java app and push it to Azure Container Registry using the Maven Jib plugin. The use of Maven and Jib is one example of using developer tooling to interact with an Azure container registry.
13
+
You can use this Quickstart to build container images of Java Spring Boot app and push it to Azure Container Registry using Maven and Jib. Maven and Jib are one way of using developer tooling to interact with an Azure container registry.
14
14
15
15
## Prerequisites
16
16
17
-
* An Azure subscription; if you don't already have an Azure subscription, you can activate your [MSDN subscriber benefits](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details) or sign up for a [free Azure account](https://azure.microsoft.com/pricing/free-trial).
17
+
* An Azure subscription; Sign up for a [free Azure account](https://azure.microsoft.com/pricing/free-trial) or activate [MSDN subscriber benefits](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details) if you don't already have an Azure subscription.
18
+
* A supported Java Development Kit (JDK); For more information on available JDKs when developing on Azure, see [Java support on Azure and Azure Stack](/azure/developer/java/fundamentals/java-support-on-azure).
18
19
* The [Azure CLI](/cli/azure/overview).
19
-
* A supported Java Development Kit (JDK). For more information about the JDKs available for use when developing on Azure, see [Java support on Azure and Azure Stack](/azure/developer/java/fundamentals/java-support-on-azure).
20
-
* Apache's [Maven](http://maven.apache.org) build tool (Version 3 or above).
20
+
* The Apache's [Maven](http://maven.apache.org) build tool (Version 3 or above).
21
21
* A [Git](https://git-scm.com) client.
22
22
* A [Docker](https://www.docker.com) client.
23
23
* The [ACR Docker credential helper](https://github.com/Azure/acr-docker-credential-helper).
24
24
25
-
## Create the Spring Boot on Docker Getting Started web app
25
+
## Create and build a Spring Boot application on Docker
26
26
27
-
The following steps walk you through building a Spring Boot web application and testing it locally.
27
+
The following steps walk you through building a containerized Java Spring Boot web application and testing it locally.
28
28
29
29
1. From the command prompt, use the following command to clone the [Spring Boot on Docker Getting Started](https://github.com/spring-guides/gs-spring-boot-docker) sample project.
@@ -114,7 +114,7 @@ Finally, you'll update your project configuration and use the command prompt to
114
114
</properties>
115
115
```
116
116
117
-
1. Update the `<plugins>` collection in the *pom.xml* file so that the `<plugin>` element contains and entry for the `jib-maven-plugin`, as shown in the following example. Note that we are using a base image from the Microsoft Container Registry (MCR): `mcr.microsoft.com/java/jdk:8-zulu-alpine`, which contains an officially supported JDK for Azure. For other MCR base images with officially supported JDKs, see [Java SE JDK](https://hub.docker.com/_/microsoft-java-jdk), [Java SE JRE](https://hub.docker.com/_/microsoft-java-jre), [Java SE Headless JRE](https://hub.docker.com/_/microsoft-java-jre-headless), and [Java SE JDK and Maven](https://hub.docker.com/_/microsoft-java-maven).
117
+
1. Update the `<plugins>` collection in the *pom.xml* file so that the `<plugin>` element contains and an entry for the `jib-maven-plugin`, as shown in the following example. Note that we are using a base image from the Microsoft Container Registry (MCR): `mcr.microsoft.com/java/jdk:8-zulu-alpine`, which contains an officially supported JDK for Azure. For other MCR base images with officially supported JDKs, see [Java SE JDK](https://hub.docker.com/_/microsoft-java-jdk), [Java SE JRE](https://hub.docker.com/_/microsoft-java-jre), [Java SE Headless JRE](https://hub.docker.com/_/microsoft-java-jre-headless), and [Java SE JDK and Maven](https://hub.docker.com/_/microsoft-java-maven).
118
118
119
119
```xml
120
120
<plugin>
@@ -132,7 +132,7 @@ Finally, you'll update your project configuration and use the command prompt to
132
132
</plugin>
133
133
```
134
134
135
-
1. Navigate to the completed project directory for your Spring Boot application and run the following command to build the image and push the image to the registry:
135
+
1. Navigate to the complete project directory for your Spring Boot application and run the following command to build the image and push the image to the registry:
0 commit comments