Skip to content

Commit

Permalink
azlinux3: use images from mcr
Browse files Browse the repository at this point in the history
... since these are available now

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
  • Loading branch information
cpuguy83 committed Aug 22, 2024
1 parent 447bd57 commit f556f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/azlinux/azlinux3.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ const (
tdnfCacheNameAzlinux3 = "azlinux3-tdnf-cache"

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

func NewAzlinux3Handler() gwclient.BuildFunc {
Expand Down
3 changes: 1 addition & 2 deletions website/docs/targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,4 @@ In the `mariner2` target, Dalec looks for a named context called either
If 1 is provided, then 2 is ignored.

This works the same way in the `azlinux3` target but with the `azlinux3` base image
(not currently displayed here since it is still preview, this will be updated
once azlinux3 is GA) OR a build context named `dalec-azlinux3-worker`.
`mcr.microsoft.com/azurelinux/base/core:3.0` OR a build context named `dalec-azlinux3-worker`.

0 comments on commit f556f59

Please sign in to comment.