Skip to content

Commit

Permalink
docker: fix base image build on arm64
Browse files Browse the repository at this point in the history
Because the base image did not specify a build for arm64, all upper layers
where build as the wrong (amd64) image. To fix, we need to include the common
platforms in the base image.

Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Sep 30, 2024
1 parent da83e95 commit 4f1af0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockerfiles/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ group "default" {

target "base" {
dockerfile = "base.Dockerfile"
inherits = ["common"]
args = {
DISTRO = DISTRO
}
Expand Down

0 comments on commit 4f1af0f

Please sign in to comment.