Skip to content

Commit

Permalink
tell docker files are in oci-layout
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jan 2, 2025
1 parent fc10387 commit d781417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ build_%:
echo final=1 >> ${*}_image/buildconfig; \
fi
ifeq ($(_build_amd64),1)
docker buildx build --progress=plain --platform linux/amd64 $(EXTRA_BUILD_FLAGS) --build-arg NAME=$(NAME) --build-arg ARCH=amd64 -t $(NAME)-$*:$(VERSION)-amd64 --rm --build-context $(NAME)-base:current-amd64=/tmp/passenger-base-amd64 $*_image
docker buildx build --progress=plain --platform linux/amd64 $(EXTRA_BUILD_FLAGS) --build-arg NAME=$(NAME) --build-arg ARCH=amd64 -t $(NAME)-$*:$(VERSION)-amd64 --rm --build-context $(NAME)-base:current-amd64=oci-layout:///tmp/passenger-base-amd64 $*_image
endif
ifeq ($(_build_arm64),1)
docker buildx build --progress=plain --platform linux/arm64 $(EXTRA_BUILD_FLAGS) --build-arg NAME=$(NAME) --build-arg ARCH=arm64 -t $(NAME)-$*:$(VERSION)-arm64 --rm --build-context $(NAME)-base:current-arm64=/tmp/passenger-base-arm64 $*_image
docker buildx build --progress=plain --platform linux/arm64 $(EXTRA_BUILD_FLAGS) --build-arg NAME=$(NAME) --build-arg ARCH=arm64 -t $(NAME)-$*:$(VERSION)-arm64 --rm --build-context $(NAME)-base:current-arm64=oci-layout:///tmp/passenger-base-arm64 $*_image
endif

labels: $(foreach image, $(ALL_IMAGES), label_${image})
Expand Down

0 comments on commit d781417

Please sign in to comment.