Fix build tasks
This commit is contained in:
parent
cf732e846e
commit
f840b076a2
1 changed files with 6 additions and 6 deletions
|
@ -26,9 +26,9 @@ ARCH ?= $(shell go env GOARCH)
|
||||||
GOARCH = ${ARCH}
|
GOARCH = ${ARCH}
|
||||||
DUMB_ARCH = ${ARCH}
|
DUMB_ARCH = ${ARCH}
|
||||||
|
|
||||||
ALL_ARCH = amd64 arm ppc64le
|
ALL_ARCH = amd64 arm arm64 ppc64le
|
||||||
|
|
||||||
QEMUVERSION=v2.7.0
|
QEMUVERSION=v2.9.1
|
||||||
|
|
||||||
IMGNAME = nginx-ingress-controller
|
IMGNAME = nginx-ingress-controller
|
||||||
IMAGE = $(REGISTRY)/$(IMGNAME)
|
IMAGE = $(REGISTRY)/$(IMGNAME)
|
||||||
|
@ -42,9 +42,9 @@ ifeq ($(ARCH),arm)
|
||||||
GOARCH=arm
|
GOARCH=arm
|
||||||
DUMB_ARCH=armhf
|
DUMB_ARCH=armhf
|
||||||
endif
|
endif
|
||||||
#ifeq ($(ARCH),arm64)
|
ifeq ($(ARCH),arm64)
|
||||||
# QEMUARCH=aarch64
|
QEMUARCH=aarch64
|
||||||
#endif
|
endif
|
||||||
ifeq ($(ARCH),ppc64le)
|
ifeq ($(ARCH),ppc64le)
|
||||||
QEMUARCH=ppc64le
|
QEMUARCH=ppc64le
|
||||||
GOARCH=ppc64le
|
GOARCH=ppc64le
|
||||||
|
@ -54,7 +54,7 @@ endif
|
||||||
# QEMUARCH=s390x
|
# QEMUARCH=s390x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
export TEMP_DIR ?= $(shell mktemp -d)
|
TEMP_DIR := $(shell mktemp -d)
|
||||||
|
|
||||||
DOCKERFILE := $(TEMP_DIR)/rootfs/Dockerfile
|
DOCKERFILE := $(TEMP_DIR)/rootfs/Dockerfile
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue