File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,6 @@ IMAGE_NAME ?= postgis
58
58
DOCKER =docker
59
59
DOCKERHUB_DESC_IMG =peterevans/dockerhub-description:latest
60
60
61
- # choice between buildx and build depending on the PLATFORMS variable
62
- ifdef PLATFORMS
63
- BUILD := buildx build --platform $(PLATFORMS )
64
- else
65
- BUILD := build
66
- endif
67
-
68
61
GIT =git
69
62
OFFIMG_LOCAL_CLONE =$(HOME ) /official-images
70
63
OFFIMG_REPO_URL =https://github.com/docker-library/official-images.git
@@ -83,12 +76,12 @@ update:
83
76
define build-version
84
77
build-$1:
85
78
ifeq ($(do_default ) ,true)
86
- $(DOCKER) $(BUILD) --pull -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1) $1
79
+ $(DOCKER) build --pull -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1) $1
87
80
$(DOCKER) images $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1)
88
81
endif
89
82
ifeq ($(do_alpine ) ,true)
90
83
ifneq ("$(wildcard $1/alpine) ","")
91
- $(DOCKER) $(BUILD) --pull -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1)-alpine $1/alpine
84
+ $(DOCKER) build --pull -t $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1)-alpine $1/alpine
92
85
$(DOCKER) images $(REPO_NAME)/$(IMAGE_NAME):$(shell echo $1)-alpine
93
86
endif
94
87
endif
You can’t perform that action at this time.
0 commit comments