mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Use Debian strecth-slim as a base for the producion Docker image
To cut the image size further, down to about 75MB. We use Debian strecth-slim as the base for the production image as golang docker images use stretch as their base.
This commit is contained in:
parent
bff94eb107
commit
f00f231c60
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ RUN go test .
|
|||
|
||||
|
||||
# Create production image for running node feature discovery
|
||||
FROM golang:1.8
|
||||
FROM debian:stretch-slim
|
||||
|
||||
COPY --from=builder /usr/local/bin /usr/local/bin
|
||||
COPY --from=builder /usr/local/lib /usr/local/lib
|
||||
|
|
Loading…
Reference in a new issue