Skip to content

Commit 8262073

Browse files
committed
azlinux3: use images from mcr
... since these are available now Signed-off-by: Brian Goff <[email protected]>
1 parent 447bd57 commit 8262073

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

frontend/azlinux/azlinux3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ const (
1717
tdnfCacheNameAzlinux3 = "azlinux3-tdnf-cache"
1818

1919
// Azlinux3Ref is the image ref used for the base worker image
20-
Azlinux3Ref = "azurelinuxpreview.azurecr.io/public/azurelinux/base/core:3.0"
20+
Azlinux3Ref = "mcr.microsoft.com/azurelinux/base/core:3.0"
2121
// Azlinux3WorkerContextName is the build context name that can be used to lookup
2222
Azlinux3WorkerContextName = "dalec-azlinux3-worker"
23-
azlinux3DistrolessRef = "azurelinuxpreview.azurecr.io/public/azurelinux/distroless/base:3.0"
23+
azlinux3DistrolessRef = "mcr.microsoft.com/azurelinux/distroless/base:3.0"
2424
)
2525

2626
func NewAzlinux3Handler() gwclient.BuildFunc {

website/docs/targets.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ In the `mariner2` target, Dalec looks for a named context called either
108108

109109
If 1 is provided, then 2 is ignored.
110110

111-
This works the same way in the `azlinux3` target but with the `azlinux3` base image
112-
(not currently displayed here since it is still preview, this will be updated
113-
once azlinux3 is GA) OR a build context named `dalec-azlinux3-worker`.
111+
This works the same way in the `azlinux3`:
112+
113+
1. The actual base image used internally for azlinux3
114+
i. `--build-context mcr.microsoft.com/azurelinux/base/core:3.0=<new ref>`
115+
2. A build context named `dalec-mariner2-worker`
116+
i. `--build-context dalec-azlinux3-worker=<new ref>`

0 commit comments

Comments
 (0)