Skip to content

Commit 9825bbe

Browse files
committed
Use distroless-packges-minimal as the base package
This includes root CA's, tzdata, and basic filesystem stuff. Signed-off-by: Brian Goff <[email protected]>
1 parent 9c1236d commit 9825bbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/azlinux/azlinux3.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (w azlinux3) Install(pkgs []string, opts ...installOpt) llb.RunOption {
6161
}
6262

6363
func (w azlinux3) BasePackages() []string {
64-
return []string{"azurelinux-release"}
64+
return []string{"distroless-packages-minimal"}
6565
}
6666

6767
func (azlinux3) DefaultImageConfig(ctx context.Context, resolver llb.ImageMetaResolver, platform *ocispecs.Platform) (*dalec.DockerImageSpec, error) {

frontend/azlinux/mariner2.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (w mariner2) Install(pkgs []string, opts ...installOpt) llb.RunOption {
5858
}
5959

6060
func (w mariner2) BasePackages() []string {
61-
return []string{"mariner-release"}
61+
return []string{"distroless-packages-minimal"}
6262
}
6363

6464
func (mariner2) DefaultImageConfig(ctx context.Context, resolver llb.ImageMetaResolver, platform *ocispecs.Platform) (*dalec.DockerImageSpec, error) {

0 commit comments

Comments
 (0)