kopeio / etcd-manager

operator for etcd: moved to https://github.com/kubernetes-sigs/etcdadm
Apache License 2.0
164 stars 45 forks source link

Build base image by raw expansion of deb packages #355

Closed justinsb closed 4 years ago

justinsb commented 4 years ago

This is how we used to build our images before bazel discouraged it, but is similar to how distroless is built now. It has many fewer dependencies compared to the distroless stack, and is much more reproducible than Dockerfile alternatives. This is currently integrated to bazel, but we could also do this standalone or in Docker in future.

justinsb commented 4 years ago

cc @hakman

hakman commented 4 years ago

Quite cool. Much smaller images than before. May actually be a good idea to use the same base for Protokube instead of giving access to all the binaries on the host.

/lgtm