From 7d790f5d3521be4d5dcb54ab2b63dcbf1e8f4931 Mon Sep 17 00:00:00 2001 From: Aleksandar Topuzovic Date: Wed, 19 Sep 2018 15:59:03 +0100 Subject: [PATCH] Use debian:stretch-slim * debian:stretch-slim is 55 Mb * golang:1.10 is 730 Mb --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index db9f6bb..69d6c84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,6 @@ workdir ${GOPATH}/src/github.com/czerwonk/bird_exporter copy . . run make deps build && cp bird_exporter /bird_exporter -from golang:1.10 +from debian:stretch-slim copy --from=builder /bird_exporter /bird_exporter entrypoint ["/bird_exporter"]