File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ debian-% raspbian-% ubuntu-%: checkout ## build deb packages for the specified d
95
95
static : DOCKER_BUILD_PKGS:=static-linux cross-mac cross-win cross-arm
96
96
static : checkout # # build static-compiled packages
97
97
for p in $( DOCKER_BUILD_PKGS) ; do \
98
- $(MAKE ) -C $@ VERSION=$(VERSION ) GO_VERSION=$(GO_VERSION ) TARGETPLATFORM= $( TARGETPLATFORM ) CONTAINERD_VERSION=$(CONTAINERD_VERSION ) RUNC_VERSION=$(RUNC_VERSION ) $$ {p}; \
98
+ $(MAKE ) -C $@ VERSION=$(VERSION ) GO_VERSION=$(GO_VERSION ) CONTAINERD_VERSION=$(CONTAINERD_VERSION ) RUNC_VERSION=$(RUNC_VERSION ) $$ {p}; \
99
99
done
100
100
101
101
.PHONY : verify
Original file line number Diff line number Diff line change @@ -28,9 +28,10 @@ ifneq ($(strip $(RUNC_VERSION)),)
28
28
DOCKER_BUILD_OPTS +=--build-arg=RUNC_VERSION=$(RUNC_VERSION )
29
29
endif
30
30
31
- ifeq ($(strip $(TARGETPLATFORM ) ) ,)
32
- TARGETPLATFORM =local
33
- endif
31
+ # doing this looks to be resetting the per-target variant (sigh)
32
+ # ifeq ($(strip $(TARGETPLATFORM)),)
33
+ # TARGETPLATFORM=local
34
+ # endif
34
35
35
36
.PHONY : help
36
37
help : # # show make targets
@@ -166,7 +167,7 @@ static-engine:
166
167
167
168
.PHONY : static-buildx-plugin
168
169
static-buildx-plugin :
169
- cd $(BUILDX_DIR ) && docker buildx bake --set binaries.platform=$(TARGETPLATFORM ) binaries && mv ./bin/buildx ./bin/docker-buildx$(EXT )
170
+ cd $(BUILDX_DIR ) && docker buildx bake --set binaries.platform=$(TARGETPLATFORM ) binaries && mv ./bin/buildx$( EXT ) ./bin/docker-buildx$(EXT )
170
171
171
172
.PHONY : static-compose-plugin
172
173
static-compose-plugin :
You can’t perform that action at this time.
0 commit comments