Skip to content

Commit

Permalink
add default BASE_IMAGE for x86
Browse files Browse the repository at this point in the history
Signed-off-by: wangzihao <[email protected]>
  • Loading branch information
wangzihao3 committed Dec 31, 2019
1 parent 45723af commit a8e6acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release-tools/build.make
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ endif
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))

# Specific BASE_IMAGE for different arch, default BASE_IMAGE gcr.io/distroless is for x86, discolix/static is for arm.
BASE_IMAGE=gcr.io/distroless/static:latest
ifeq (${ARCH}, arm64)
BASE_IMAGE=discolix/static:latest
endif
Expand Down

0 comments on commit a8e6acf

Please sign in to comment.