From 4375c01afbf50b09589ea40e21172d63c0ab8424 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 21 Apr 2021 10:50:07 -0500 Subject: [PATCH] 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 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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