Skip to content

Commit 39cfcb7

Browse files
committed
Test build 11
1 parent 5f0f416 commit 39cfcb7

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

articles/deployment-environments/how-to-configure-extensibility-model-custom-image.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,8 @@ After you complete the image customization, you can build the image and push it
9292
9393
### Build the custom image
9494
95-
You can build your image using the Docker CLI. Ensure the [Docker Engine is installed](https://docs.docker.com/desktop/) on your computer. Then, navigate to the directory of your Dockerfile, and run the following command:
95+
[!INCLUDE [custom-image-manual-build](includes/custom-image-manual-build.md)]
9696
97-
```docker
98-
docker build . -t {YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}
99-
```
100-
101-
For example, if you want to save your image under a repository within your registry named `customImage`, and upload with the tag version of `1.0.0`, you would run:
102-
103-
```docker
104-
docker build . -t {YOUR_REGISTRY}.azurecr.io/customImage:1.0.0
105-
```
10697
---
10798
10899
::: zone-end
@@ -234,6 +225,11 @@ tfOutputs=$(jq 'walk(if type == "object" then
234225

235226
echo "{\"outputs\": $tfOutputs}" > $ADE_OUTPUTS
236227
```
228+
229+
### Build the custom image
230+
231+
[!INCLUDE [custom-image-manual-build](includes/custom-image-manual-build.md)]
232+
237233
::: zone-end
238234

239235

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
ms.service: azure-deployment-environments
3+
ms.topic: include
4+
author: RoseHJM
5+
ms.author: rosemalcolm
6+
ms.date: 09/25/2024
7+
---
8+
9+
10+
You can build your image using the Docker CLI. Ensure the [Docker Engine is installed](https://docs.docker.com/desktop/) on your computer. Then, navigate to the directory of your Dockerfile, and run the following command:
11+
12+
```docker
13+
docker build . -t {YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}
14+
```
15+
16+
For example, if you want to save your image under a repository within your registry named `customImage`, and upload with the tag version of `1.0.0`, you would run:
17+
18+
```docker
19+
docker build . -t {YOUR_REGISTRY}.azurecr.io/customImage:1.0.0
20+
```

0 commit comments

Comments
 (0)