Skip to content

Commit

Permalink
Use distroless-packges-minimal as the base package
Browse files Browse the repository at this point in the history
This includes root CA's, tzdata, and basic filesystem stuff.

Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 committed Nov 4, 2024
1 parent 9c1236d commit 9825bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/azlinux/azlinux3.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (w azlinux3) Install(pkgs []string, opts ...installOpt) llb.RunOption {
}

func (w azlinux3) BasePackages() []string {
return []string{"azurelinux-release"}
return []string{"distroless-packages-minimal"}
}

func (azlinux3) DefaultImageConfig(ctx context.Context, resolver llb.ImageMetaResolver, platform *ocispecs.Platform) (*dalec.DockerImageSpec, error) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/azlinux/mariner2.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (w mariner2) Install(pkgs []string, opts ...installOpt) llb.RunOption {
}

func (w mariner2) BasePackages() []string {
return []string{"mariner-release"}
return []string{"distroless-packages-minimal"}
}

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

0 comments on commit 9825bbe

Please sign in to comment.