Skip to content

Commit

Permalink
Switch base image to distroless-iptables (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstam committed Sep 12, 2022
1 parent 61edb2d commit 3912190
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Change Log

## [0.1.4]

* Switch base image to distroless-iptables

## [0.1.3]

* Remove /vendor from VCS
Expand Down
19 changes: 3 additions & 16 deletions Makefile
Expand Up @@ -50,22 +50,9 @@ ifeq ($(INTERACTIVE), 1)
TTY=t
endif

# Set default base image dynamically for each arch
ifeq ($(ARCH),amd64)
BASEIMAGE?=k8s.gcr.io/build-image/debian-iptables-amd64:buster-v1.7.0
endif
ifeq ($(ARCH),arm)
BASEIMAGE?=k8s.gcr.io/build-image/debian-iptables-arm:buster-v1.7.0
endif
ifeq ($(ARCH),arm64)
BASEIMAGE?=k8s.gcr.io/build-image/debian-iptables-arm64:buster-v1.7.0
endif
ifeq ($(ARCH),ppc64le)
BASEIMAGE?=k8s.gcr.io/build-image/debian-iptables-ppc64le:buster-v1.7.0
endif
ifeq ($(ARCH),s390x)
BASEIMAGE?=k8s.gcr.io/build-image/debian-iptables-s390x:buster-v1.7.0
endif
# Use a distroless multi-arch base image, based on debian-iptables:
# https://github.com/kubernetes/kubernetes/issues/109406#issuecomment-1195957805
BASEIMAGE ?= k8s.gcr.io/build-image/distroless-iptables:v0.1.1

TAG := $(VERSION)__$(OS)_$(ARCH)

Expand Down

0 comments on commit 3912190

Please sign in to comment.