Skip to content

Commit d1d3711

Browse files
committedNov 24, 2020
review
1 parent 7f57b60 commit d1d3711

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed
 

‎articles/container-registry/container-registry-tutorial-base-image-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: "seodec18, mvc, devx-track-js, devx-track-azurecli"
1111

1212
# Tutorial: Automate container image builds when a base image is updated in an Azure container registry
1313

14-
ACR Tasks supports automated container image builds when a container's [base image is updated](container-registry-tasks-base-images.md), such as when you patch the OS or application framework in one of your base images.
14+
[ACR Tasks](container-registry-tasks-overview.md) supports automated container image builds when a container's [base image is updated](container-registry-tasks-base-images.md), such as when you patch the OS or application framework in one of your base images.
1515

1616
In this tutorial, you learn how to create an ACR task that triggers a build in the cloud when a container's base image is pushed to the same registry. You can also try a tutorial to create an ACR task that triggers an image build when a base image is pushed to [another Azure container registry](container-registry-tutorial-private-base-image-update.md).
1717

@@ -158,7 +158,7 @@ cat taskhelloworld linux Succeeded Manual 2020-11-20T23:07:29Z
158158
Here you simulate a framework patch in the base image. Edit **Dockerfile-base**, and add an "a" after the version number defined in `NODE_VERSION`:
159159

160160
```dockerfile
161-
ENV NODE_VERSION 15.2.2a
161+
ENV NODE_VERSION 15.2.1a
162162
```
163163

164164
Run a quick task to build the modified base image. Take note of the **Run ID** in the output.

‎articles/container-registry/container-registry-tutorial-private-base-image-update.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom: devx-track-js, devx-track-azurecli
88

99
# Tutorial: Automate container image builds when a base image is updated in another private container registry
1010

11-
ACR Tasks supports automated image builds when a container's [base image is updated](container-registry-tasks-base-images.md), such as when you patch the OS or application framework in one of your base images.
11+
[ACR Tasks](container-registry-tasks-overview.md) supports automated image builds when a container's [base image is updated](container-registry-tasks-base-images.md), such as when you patch the OS or application framework in one of your base images.
1212

1313
In this tutorial, you learn how to create an ACR task that triggers a build in the cloud when a container's base image is pushed to another Azure container registry. You can also try a tutorial to create an ACR task that triggers an image build when a base image is pushed to the [same Azure container registry](container-registry-tutorial-base-image-update.md).
1414

@@ -161,7 +161,7 @@ docker run -d -p 8080:80 --name myapp --rm $ACR_NAME.azurecr.io/helloworld:<run-
161161

162162
Navigate to `http://localhost:8080` in your browser, and you should see the Node.js version number rendered in the web page, similar to the following. In a later step, you bump the version by adding an "a" to the version string.
163163

164-
![Screenshot that shows a sample application rendered in a browser.][base-update-01]
164+
:::image type="content" source="media/container-registry-tutorial-base-image-update/base-update-01.png" alt-text="Screenshot of sample application in browser":::
165165

166166
To stop and remove the container, run the following command:
167167

@@ -197,7 +197,7 @@ caw taskhelloworld linux Succeeded Commit 2020-11-20T23:16:
197197
Here you simulate a framework patch in the base image. Edit **Dockerfile-base**, and add an "a" after the version number defined in `NODE_VERSION`:
198198

199199
```Dockerfile
200-
ENV NODE_VERSION 15.2.2a
200+
ENV NODE_VERSION 15.2.1a
201201
```
202202

203203
Run a quick task to build the modified base image. Take note of the **Run ID** in the output.
@@ -244,7 +244,7 @@ docker run -d -p 8081:80 --name updatedapp --rm $ACR_NAME.azurecr.io/helloworld:
244244

245245
Navigate to http://localhost:8081 in your browser, and you should see the updated Node.js version number (with the "a") in the web page:
246246

247-
![Screenshot of sample application rendered in browser][base-update-02]
247+
:::image type="content" source="media/container-registry-tutorial-base-image-update/base-update-02.png" alt-text="Screenshot of updated sample application in browser":::
248248

249249
What's important to note is that you updated your **base** image with a new version number, but the last-built **application** image displays the new version. ACR Tasks picked up your change to the base image, and rebuilt your application image automatically.
250250

@@ -284,6 +284,3 @@ In this tutorial, you learned how to use a task to automatically trigger contain
284284
[az-acr-show]: /cli/azure/acr#az-acr-show
285285
[az-role-assignment-create]: /cli/azure/role/assignment#az-role-assignment-create
286286

287-
<!-- IMAGES -->
288-
[base-update-01]: ./media/container-registry-tutorial-base-image-update/base-update-01.png
289-
[base-update-02]: ./media/container-registry-tutorial-base-image-update/base-update-02.png

‎articles/container-registry/container-registry-tutorial-quick-task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: "seodec18, mvc, devx-track-azurecli"
1111

1212
# Tutorial: Build and deploy container images in the cloud with Azure Container Registry Tasks
1313

14-
**ACR Tasks** is a suite of features within Azure Container Registry that provides streamlined and efficient Docker container image builds in Azure. In this article, you learn how to use the *quick task* feature of ACR Tasks.
14+
[ACR Tasks](container-registry-tasks-overview.md) is a suite of features within Azure Container Registry that provides streamlined and efficient Docker container image builds in Azure. In this article, you learn how to use the *quick task* feature of ACR Tasks.
1515

1616
The "inner-loop" development cycle is the iterative process of writing code, building, and testing your application before committing to source control. A quick task extends your inner-loop to the cloud, providing you with build success validation and automatic pushing of successfully built images to your container registry. Your images are built natively in the cloud, close to your registry, enabling faster deployment.
1717

@@ -268,7 +268,7 @@ Server running at http://localhost:80
268268

269269
When `Server running at http://localhost:80` appears, navigate to the container's FQDN in your browser to see the running application. The FQDN should have been displayed in the output of the `az container create` command you executed in the previous section.
270270

271-
![Screenshot of sample application rendered in browser][quick-build-02-browser]
271+
:::image type="content" source="media/container-registry-tutorial-quick-build/quick-build-02-browser.png" alt-text="Sample application running in browser":::
272272

273273
To detach your console from the container, hit `Control+C`.
274274

0 commit comments

Comments
 (0)
Please sign in to comment.