Skip to content

Commit 9ba4d49

Browse files
authored
Merge pull request #185510 from tejaswikolli-web/master
tejaswikolli-web/azure-docs-pr/master
2 parents 82d9c05 + b279039 commit 9ba4d49

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/container-registry/container-registry-java-quickstart.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
---
2-
title: Quickstart - Build and push Java container images to Azure Container Registry using Maven and Jib
3-
description: Build a containerized Java app and push it to Azure Container Registry using the Maven Jib plugin.
2+
title: Quickstart - Build and push container images of the Java Spring Boot App to Azure Container Registry
3+
description: Learn to build and push a containerized Java Spring Boot app to the Azure Container Registry using Maven and Jib plugin.
44
author: KarlErickson
55
ms.author: karler
6-
ms.date: 02/26/2020
6+
ms.date: 01/18/2022
77
ms.topic: quickstart
88
ms.custom: devx-track-java, devx-track-azurecli, mode-api
99
---
1010

11-
# 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
1212

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.
1414

1515
## Prerequisites
1616

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).
1819
* 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).
2121
* A [Git](https://git-scm.com) client.
2222
* A [Docker](https://www.docker.com) client.
2323
* The [ACR Docker credential helper](https://github.com/Azure/acr-docker-credential-helper).
2424

25-
## Create the Spring Boot on Docker Getting Started web app
25+
## Create and build a Spring Boot application on Docker
2626

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.
2828

2929
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.
3030

3131
```bash
3232
git clone https://github.com/spring-guides/gs-spring-boot-docker.git
3333
```
3434

35-
1. Change directory to the completed project.
35+
1. Change directory to the complete project.
3636

3737
```bash
3838
cd gs-spring-boot-docker/complete
@@ -114,7 +114,7 @@ Finally, you'll update your project configuration and use the command prompt to
114114
</properties>
115115
```
116116

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).
118118

119119
```xml
120120
<plugin>
@@ -132,7 +132,7 @@ Finally, you'll update your project configuration and use the command prompt to
132132
</plugin>
133133
```
134134

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:
136136

137137
```bash
138138
az acr login && mvn compile jib:build

0 commit comments

Comments
 (0)