Skip to content

Commit

Permalink
typo and image loading issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Dec 31, 2024
1 parent 19ce350 commit 5a96b03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ build_base:
cp -pR image base_image
ifeq ($(_build_amd64),1)
docker rmi $(NAME)-base:current-amd64 || true
docker buildx build --progress=plain --platform linux/amd64 $(EXTRA_BUILD_FLAGS) --build-arg ARCH=amd64 -t $(NAME)-base:current-amd64 -f image/Dockerfile.base base_image --no-cache
docker buildx build --progress=plain --platform linux/amd64 $(EXTRA_BUILD_FLAGS) --build-arg ARCH=amd64 -t $(NAME)-base:current-amd64 -f image/Dockerfile.base base_image --no-cache --load
endif
ifeq ($(_build_arm64),1)
docker rmi $(NAME)-base:current-arm64 || true
docker buildx build --progress=plain --platform linux/arm64 $(EXTRA_BUILD_FLAGS) --build-arg ARCH=arm64 -t $(NAME)-base:current-arm64 -f image/Dockerfile.base base_image --no-cache
docker buildx build --progress=plain --platform linux/arm64 $(EXTRA_BUILD_FLAGS) --build-arg ARCH=arm64 -t $(NAME)-base:current-arm64 -f image/Dockerfile.base base_image --no-cache --load
endif
rm -rf base_image

Expand All @@ -78,7 +78,7 @@ ifeq ($(_build_amd64),1)
docker export $(NAME)-base:current-amd64 | gzip > passenger-base-amd64.tar.gz
endif
ifeq ($(_build_arm64),1)
docker export $(NAME)-base:current-amd64 | gzip > passenger-base-arm64.tar.gz
docker export $(NAME)-base:current-arm64 | gzip > passenger-base-arm64.tar.gz
endif

build_%:
Expand Down

0 comments on commit 5a96b03

Please sign in to comment.