Skip to content

Commit

Permalink
Making gcr.io/google_containers/k8s-dns-kube-dns-s390x images available.
Browse files Browse the repository at this point in the history
  • Loading branch information
gajju26 committed Feb 15, 2017
1 parent 58ab33a commit 6500567
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions images/dnsmasq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ ARCH ?= amd64
DNSMASQ_VERSION ?= dnsmasq-2.76
CONTAINER_PREFIX ?= k8s-dns

ALL_ARCH := amd64 arm arm64 ppc64le
ALL_ARCH := amd64 arm arm64 ppc64le s390x
IMAGE := $(CONTAINER_PREFIX)-dnsmasq-$(ARCH)
COMPILE_IMAGE := gcr.io/google_containers/kube-cross:v1.6.2-2
COMPILE_IMAGE := gcr.io/google_containers/kube-cross:v1.7.4-1
OUTPUT_DIR := _output/$(ARCH)

ifeq ($(ARCH),amd64)
Expand Down
6 changes: 5 additions & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export VERSION
# directories which hold app source (not vendored)
SRC_DIRS := cmd pkg

ALL_ARCH := amd64 arm arm64 ppc64le
ALL_ARCH := amd64 arm arm64 ppc64le s390x
# Set default base image dynamically for each arch
ifeq ($(ARCH),amd64)
BASEIMAGE?=alpine
Expand All @@ -45,6 +45,10 @@ ifeq ($(ARCH),ppc64le)
BASEIMAGE?=ppc64le/busybox
NOBODY?=nobody
endif
ifeq ($(ARCH),s390x)
BASEIMAGE?=s390x/busybox
NOBODY?=nobody
endif

# These rules MUST be expanded at reference time (hence '=') as BINARY
# is dynamically scoped.
Expand Down

0 comments on commit 6500567

Please sign in to comment.