mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Fix aarch64 platform tag when make docker-image-build
This commit is contained in:
2
Makefile
2
Makefile
@@ -145,7 +145,7 @@ docker-shell: COMMAND=bash
|
||||
# The build user must also be a member of the "docker" group.
|
||||
docker-image-build:
|
||||
$(DOCKER_CMD) buildx create --use
|
||||
$(DOCKER_CMD) buildx build --tag $(DOCKER_IMAGE) --platform $(shell if [ "$(uname -m)" = "aarch64" ]; then echo "linux/arm64"; else echo "linux/amd64"; fi) --load .
|
||||
$(DOCKER_CMD) buildx build --tag $(DOCKER_IMAGE) --platform $(shell if [ "$$(uname -m)" = "aarch64" ]; then echo "linux/arm64"; else echo "linux/amd64"; fi) --load .
|
||||
|
||||
# Command: pulls latest docker image from dockerhub. This will *replace* locally built version.
|
||||
docker-image-pull:
|
||||
|
||||
Reference in New Issue
Block a user