Upgrade Debian base image from 10.7 to 10.9 and Go from 1.15.6 to 1.15.11.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
91bf179b39
commit
4375c01afb
@ -1,7 +1,7 @@
|
||||
# Copyright 2020-2021 the Pinniped contributors. All Rights Reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
FROM golang:1.15.6 as build-env
|
||||
FROM golang:1.15.11 as build-env
|
||||
|
||||
WORKDIR /work
|
||||
# Get dependencies first so they can be cached as a layer
|
||||
@ -24,7 +24,7 @@ RUN mkdir out \
|
||||
&& CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o out ./cmd/local-user-authenticator/...
|
||||
|
||||
# Use a runtime image based on Debian slim
|
||||
FROM debian:10.7-slim
|
||||
FROM debian:10.9-slim
|
||||
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy the binaries from the build-env stage
|
||||
|
Loading…
Reference in New Issue
Block a user