From 42614db2984d981327cd4d44f20767108ffeb759 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Fri, 17 Nov 2023 12:22:14 +0700 Subject: [PATCH] Update images in Dockerfile to fix CVEs Signed-off-by: NikitaSkrynnik --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42db1b0..d6fc95c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM golang:1.20.5-buster as go +FROM golang:1.20.11 as go ENV GO111MODULE=on ENV CGO_ENABLED=0 ENV GOBIN=/bin RUN go install github.com/go-delve/delve/cmd/dlv@v1.8.2 -RUN go install github.com/grpc-ecosystem/grpc-health-probe@v0.4.1 +RUN go install github.com/grpc-ecosystem/grpc-health-probe@v0.4.22 ADD https://github.com/spiffe/spire/releases/download/v1.2.2/spire-1.2.2-linux-x86_64-glibc.tar.gz . RUN tar xzvf spire-1.2.2-linux-x86_64-glibc.tar.gz -C /bin --strip=2 spire-1.2.2/bin/spire-server spire-1.2.2/bin/spire-agent