File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -50,18 +50,17 @@ IMAGE:=$(REGISTRY)/node-problem-detector:$(TAG)
50
50
ENABLE_JOURNALD? =1
51
51
52
52
# TODO(random-liu): Support different architectures.
53
- BASEIMAGE: =alpine:3.4
53
+ # The debian-base:0.3 image built from kubernetes repository is based on Debian Stretch.
54
+ # It includes systemd 232 with support for both +XZ and +LZ4 compression.
55
+ # +LZ4 is needed on some os distros such as COS.
56
+ BASEIMAGE: =gcr.io/google-containers/debian-base-amd64:0.3
54
57
55
58
# Disable cgo by default to make the binary statically linked.
56
59
CGO_ENABLED: =0
57
60
58
- # NOTE that enable journald will increase the image size.
59
61
ifeq ($(ENABLE_JOURNALD ) , 1)
60
62
# Enable journald build tag.
61
63
BUILD_TAGS:=-tags journald
62
- # Use fedora because it has newer systemd version (229) and support +LZ4. +LZ4 is needed
63
- # on some os distros such as GCI.
64
- BASEIMAGE:=fedora
65
64
# Enable cgo because sdjournal needs cgo to compile. The binary will be dynamically
66
65
# linked if CGO_ENABLED is enabled. This is fine because fedora already has necessary
67
66
# dynamic library. We can not use `-extldflags "-static"` here, because go-systemd uses
You can’t perform that action at this time.
0 commit comments