Skip to content

Commit

Permalink
Update to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary-H9 committed Apr 4, 2024
1 parent ee41f39 commit fee34f2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ test: build
build:
@ARCH=`uname -m`; \
case $$ARCH in \
aarch64) \
aarch64 | arm64) \
echo "Building for aarch64 architecture"; \
docker build --platform linux/aarch64 --file Dockerfile --tag $(IMAGE_NAME) . ;; \
arm64) \
echo "Building for ARM64 architecture"; \
docker build --platform linux/arm64 --file Dockerfile --tag $(IMAGE_NAME) . ;; \
docker build --platform linux/amd64 --file Dockerfile --tag $(IMAGE_NAME) . ;; \
*) \
echo "Architecture: $$ARCH"; \
docker build --file Dockerfile --tag $(IMAGE_NAME) . ;; \
Expand Down

0 comments on commit fee34f2

Please sign in to comment.