Skip to content

Commit 755ee15

Browse files
committed
Fix makefile
1 parent d9f7423 commit 755ee15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ endif
2323

2424
ALPINE_IMAGE ?= 3.18
2525

26-
DOCKERCLI ?= $(shell which docker)
2726
GOBUILDLINKTARGET := ../../../..
2827

29-
DOCKER_BUILD_CLI := $(DOCKERCLI) buildx build --build-arg "IMAGE=$(ALPINE_IMAGE)" --platform linux/$(GOARCH)
30-
3128
BUILDDIR ?= $(ROOTDIR)
3229

3330
GOBUILDDIR := $(BUILDDIR)/.gobuild
@@ -53,6 +50,9 @@ ifeq ("$(GOOS)", "windows")
5350
GOEXE := .exe
5451
endif
5552

53+
DOCKERCLI ?= $(shell which docker)
54+
DOCKER_BUILD_CLI := $(DOCKERCLI) buildx build --build-arg "IMAGE=$(ALPINE_IMAGE)" --platform linux/$(GOARCH)
55+
5656
ARANGODB ?= arangodb/arangodb:latest
5757

5858
IP ?= $(shell hostname -I | cut -d ' ' -f 1)

0 commit comments

Comments
 (0)