diff --git a/Dockerfile b/Dockerfile index eb267193..bfdc2dba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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