Skip to content

Commit 0d2c00b

Browse files
author
Peng Zhou
committed
update the docker-build script
1 parent 961aabd commit 0d2c00b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ OPERATOR_SDK_VERSION ?= v1.34.2
6868
# Image URL to use all building/pushing image targets
6969
# Image for dev: ml-marklogic-operator-dev.bed-artifactory.bedford.progress.com/marklogic-operator-kubernetes
7070
IMG ?= progressofficial/marklogic-operator-kubernetes:$(VERSION)
71-
# IMG ?= "testrepo/marklogic-operator-image-dev:$(VERSION)"
7271

7372

7473
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
@@ -206,7 +205,7 @@ run: manifests generate fmt vet ## Run a controller from your host.
206205
# More info: https://docs.docker.com/develop/develop-images/build_enhancements/
207206
.PHONY: docker-build
208207
docker-build: ## Build docker image with the manager. to build for linux, add --platform="linux/amd64"
209-
$(CONTAINER_TOOL) buildx build -t ${IMG} .
208+
$(CONTAINER_TOOL) buildx build --platform="linux/amd64" -t ${IMG} .
210209

211210
.PHONY: docker-push
212211
docker-push: ## Push docker image with the manager.

0 commit comments

Comments
 (0)