mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Container base image version bump:
- update to golang 1.15.5 (was 1.15.4) - Be more explicit about using the -buster variant for build image - Update runtime image from -stretch to -buster to pick up security fixes
This commit is contained in:
parent
64cb0403d5
commit
fc3a96928e
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
# Build node feature discovery
|
||||
FROM golang:1.15.4 as builder
|
||||
FROM golang:1.15.5-buster as builder
|
||||
|
||||
# Get (cache) deps in a separate layer
|
||||
COPY go.mod go.sum /go/node-feature-discovery/
|
||||
|
@ -20,7 +20,7 @@ RUN make test
|
|||
|
||||
|
||||
# Create production image for running node feature discovery
|
||||
FROM debian:stretch-slim
|
||||
FROM debian:buster-slim
|
||||
|
||||
# Run as unprivileged user
|
||||
USER 65534:65534
|
||||
|
|
Loading…
Reference in a new issue