Use debian:stretch-slim

* debian:stretch-slim is 55 Mb
* golang:1.10 is 730 Mb
This commit is contained in:
Aleksandar Topuzovic 2018-09-19 15:59:03 +01:00
parent d984aa9140
commit 7d790f5d35

View File

@ -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"]