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
Copy file name to clipboardExpand all lines: articles/deployment-environments/how-to-configure-extensibility-model-custom-image.md
+38-5Lines changed: 38 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,11 +69,21 @@ For more information about how to create environment definitions that use the AD
69
69
### [Create a custom image by using a script](#tab/custom-script/)
70
70
### Create a custom container image by using a script
71
71
72
-
Creating a custom container image allows you to customize your deployments to fit your requirements. You can create custom images based on the ADE standard images.
72
+
Creating a custom container image allows you to customize your deployments to fit your requirements. You can build an image based on the ADE standard image and push it to your container registry by using a quick start script provided by Microsoft. You can find the script in the [Deployment Environments repo](https://aka.ms/ade/arm-bicep-repo-script). To use the quick start script, fork the repo and then run the script locally.
73
+
74
+
The script builds an image and pushes it to the specified Azure Container Registry (ACR) under the repository 'ade' and the tag 'latest'. This script requires your registry name and directory for your custom image, have the Azure CLI and Docker Desktop installed and in your PATH variables, and requires that you have permissions to push to the specified registry. You can call the script using the following command in PowerShell:
Additionally, if you would like to push to a specific repository and tag name, you can run:
73
81
74
-
After you complete the image customization, you can build the image and push it to your container registry by using a script provided by Microsoft to automate the process.
To use the image in your environment deployments, you need to add the location of the image to your manifest file [Connect the image to your environment definition](#connect-the-image-to-your-environment-definition) and you might need to configure permissions for the ACR to [make the custom image available to ADE](#make-the-custom-image-available-to-ade).
77
87
78
88
### Build a container image with a script
79
89
@@ -107,9 +117,32 @@ After you complete the image customization, you can build the image and push it
107
117
You can take one of the following approaches to use container images with ADE:
108
118
-**Create a container image leveraging a GitHub workflow:** To start with, you can use the published GitHub workflow from the Leveraging ADE's Extensibility Model With Terraform repository.
109
119
-**Create a custom container image:** You can create a workflow that creates a Terraform specific image customized with all the software, settings, and configuration that you need.
110
-
111
120
112
-
## Create a container image using a GitHub workflow
121
+
## Create a custom container image
122
+
123
+
### [Create a container image using a GitHub workflow](#tab/github-workflow/)
124
+
125
+
### Create a container image using a GitHub workflow
126
+
127
+
Creating a custom container image allows you to customize your deployments to fit your requirements. You can build an image based on the ADE standard image and push it to your container registry by using a quick start script provided by Microsoft. You can find the script in the [Deployment Environments with Terraform repo](https://aka.ms/ade/terraform-repo-script). To use the quick start script, fork the repo and then run the script locally.
128
+
129
+
The script builds an image and pushes it to the specified Azure Container Registry (ACR) under the repository 'ade' and the tag 'latest'. This script requires your registry name and directory for your custom image, have the Azure CLI and Docker Desktop installed and in your PATH variables, and requires that you have permissions to push to the specified registry. You can call the script using the following command in PowerShell:
To use the image in your environment deployments, you need to add the location of the image to your manifest file [Connect the image to your environment definition](#connect-the-image-to-your-environment-definition) and you might need to configure permissions for the ACR to [make the custom image available to ADE](#make-the-custom-image-available-to-ade).
142
+
143
+
144
+
### Create a container image manually
145
+
113
146
Creating a custom container image allows you to customize your deployments to fit your requirements. You can create custom images based on the ADE standard images.
114
147
115
148
After you complete the image customization, you must build the image and push it to your container registry.
0 commit comments