Use debian:stretch-slim
* debian:stretch-slim is 55 Mb * golang:1.10 is 730 Mb
This commit is contained in:
parent
d984aa9140
commit
7d790f5d35
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user