Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Rebase reshceduler to distroless #3010

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions rescheduler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,7 @@ ALL_ARCH = amd64 arm arm64 ppc64le s390x
IMAGE = $(REGISTRY)/rescheduler
MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)

BASEIMAGE ?= busybox:latest

ifeq ($(ARCH),arm)
BASEIMAGE=arm32v7/busybox:latest
endif
ifeq ($(ARCH),arm64)
BASEIMAGE=arm64v8/busybox:latest
endif
ifeq ($(ARCH),ppc64le)
BASEIMAGE=ppc64le/busybox:latest
endif
ifeq ($(ARCH),s390x)
BASEIMAGE=s390x/busybox:latest
endif
BASEIMAGE?=gcr.io/distroless/static:latest

build: clean
GOOS=linux GOARCH=$(ARCH) CGO_ENABLED=0 go build ./...
Expand Down