Skip to content

Commit 8c1dc06

Browse files
author
RoseHJM
committed
Reordered tabs & minor rephrasing
1 parent a2b575d commit 8c1dc06

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

articles/deployment-environments/how-to-configure-extensibility-bicep-container-image.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to use the ADE extensibility model to build and utilize c
55
ms.service: deployment-environments
66
author: RoseHJM
77
ms.author: rosemalcolm
8-
ms.date: 05/20/2024
8+
ms.date: 05/23/2024
99
ms.topic: how-to
1010

1111
#customer intent: As a developer, I want to learn how to build and utilize custom images within my environment definitions for deployment environments.
@@ -32,9 +32,9 @@ The ADE team provides a selection of images to get you started, including a core
3232

3333
You can take one of the following approaches to use container images with ADE:
3434

35-
1. Use the standard image directly by configuring runner: Bicep
36-
2. Build a container image using the script in the repo
37-
3. Build out the container image manually
35+
- Use the standard image provided by ADE
36+
- Customize a container image
37+
- Build a custom container image using the script provided by ADE
3838

3939
Select the appropriate tab to learn more about each approach.
4040

@@ -57,10 +57,6 @@ The following example shows a runner that references the sample Bicep container
5757
```
5858
You can see the standard Bicep container image in the ADE sample repository under the [Runner-Images folder for the ARM-Bicep](https://github.com/Azure/deployment-environments/tree/main/Runner-Images/ARM-Bicep) image.
5959
60-
## [Build a container image with a script](#tab/build-a-container-image-with-a-script/)
61-
62-
[!INCLUDE [custom-image-script](includes/custom-image-script.md)]
63-
6460
## [Create a custom bicep container image](#tab/create-a-custom-bicep-container-image/)
6561
6662
### Create and build a Docker image
@@ -217,7 +213,6 @@ fi
217213
echo "{\"outputs\": $deploymentOutput}" > $ADE_OUTPUTS
218214
```
219215

220-
221216
#### Build the image
222217

223218
Before you build the image to be pushed to your registry, 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:
@@ -263,6 +258,10 @@ When authoring environment definitions to use your custom image in their deploym
263258
runner: "{YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}"
264259
```
265260

261+
## [Build a container image with a script](#tab/build-a-container-image-with-a-script/)
262+
263+
[!INCLUDE [custom-image-script](includes/custom-image-script.md)]
264+
266265
---
267266

268267
## Access operation logs and error details

articles/deployment-environments/includes/custom-image-script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ Microsoft provides a quickstart script to help you get started. The script build
1010

1111
To use the script, you must:
1212

13-
1. Configure a Dockerfile and scripts folder to support the ADE extensibility model.
13+
1. Create a Dockerfile and scripts folder to support the ADE extensibility model.
1414
1. Supply a registry name and directory for your custom image.
1515
1. Have the Azure CLI and Docker Desktop installed and in your PATH variables.
1616
1. Have permissions to push to the specified registry.
1717

18-
You can run the script [here](https://github.com/Azure/deployment-environments/blob/custom-runner-private-preview/Runner-Images/quickstart-image-build.ps1).
18+
You can view the script [here](https://github.com/Azure/deployment-environments/blob/custom-runner-private-preview/Runner-Images/quickstart-image-build.ps1).
1919

2020
You can call the script using the following command in PowerShell:
2121
```powershell

0 commit comments

Comments
 (0)