You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
692 B
16 lines
692 B
registry = registry.zerotier.com/zerotier |
|
|
|
all: controller-builder controller-runbase |
|
|
|
buildx: |
|
@echo "docker buildx create" |
|
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes |
|
docker run --privileged --rm tonistiigi/binfmt --install all |
|
@echo docker buildx create --name multiarch --driver docker-container --use |
|
@echo docker buildx inspect --bootstrap |
|
|
|
controller-builder: buildx |
|
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t $(registry)/ctlbuild:latest -f Dockerfile.builder . --push |
|
|
|
controller-runbase: buildx |
|
docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t $(registry)/ctlrun:latest -f Dockerfile.run_base . --push
|
|
|