Add support for arm, arm64 and s390x arch

This commit is contained in:
Manjunath A Kumatagi 2017-04-17 02:30:34 -04:00
parent 172f7548d4
commit 9f426888b8
3 changed files with 50 additions and 20 deletions

View file

@ -27,9 +27,19 @@ MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)
# Set default base image dynamically for each arch
BASEIMAGE?=gcr.io/google_containers/ubuntu-slim-$(ARCH):0.9
ifeq ($(ARCH),arm)
QEMUARCH=arm
endif
#ifeq ($(ARCH),arm64)
# QEMUARCH=aarch64
#endif
ifeq ($(ARCH),ppc64le)
QEMUARCH=ppc64le
endif
#ifeq ($(ARCH),s390x)
# QEMUARCH=s390x
#endif
TEMP_DIR := $(shell mktemp -d)