Merge b4b94276ad into fa5fb5a7cc
This commit is contained in:
commit
af22f10864
|
|
@ -104,7 +104,7 @@ docker-push: ## Push docker image with the backend.
|
|||
# - have enabled BuildKit. More info: https://docs.docker.com/develop/develop-images/build_enhancements/
|
||||
# - be able to push the image to your registry (i.e. if you do not set a valid value via IMG=<myregistry/image:<tag>> then the export will fail)
|
||||
# To adequately provide solutions that are compatible with multiple platforms, you should consider using this option.
|
||||
PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
|
||||
PLATFORMS ?= linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||
.PHONY: docker-buildx
|
||||
docker-buildx: ## Build and push docker image for the manager for cross-platform support
|
||||
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ docker-push: ## Push docker image with the manager.
|
|||
# - have enabled BuildKit. More info: https://docs.docker.com/develop/develop-images/build_enhancements/
|
||||
# - be able to push the image to your registry (i.e. if you do not set a valid value via IMG=<myregistry/image:<tag>> then the export will fail)
|
||||
# To adequately provide solutions that are compatible with multiple platforms, you should consider using this option.
|
||||
PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
|
||||
PLATFORMS ?= linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||
.PHONY: docker-buildx
|
||||
docker-buildx: ## Build and push docker image for the manager for cross-platform support
|
||||
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ docker-push: ## Push docker image for the frontend.
|
|||
$(CONTAINER_TOOL) push ${IMG}
|
||||
|
||||
# PLATFORMS defines the target platforms for cross-platform support.
|
||||
PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
|
||||
PLATFORMS ?= linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||
|
||||
.PHONY: docker-buildx
|
||||
docker-buildx: ## Build and push docker image for cross-platform support.
|
||||
|
|
|
|||
Loading…
Reference in New Issue