Closed zchee closed 4 years ago
Use distroless/static:latest to base image.
distroless/static:latest
More smallest container image.
You can create distroless/static:debug base image with bin/bazelisk build -c dbg --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //:image command.
distroless/static:debug
bin/bazelisk build -c dbg --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //:image
the branch name is wrong... ignore it.
close for now. send PR again.
WHAT
Use
distroless/static:latest
to base image.WHY
More smallest container image.
Note
You can create
distroless/static:debug
base image withbin/bazelisk build -c dbg --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //:image
command.Ref