From c4b463776de8e5fbc008612548a20b39477809a5 Mon Sep 17 00:00:00 2001 From: Karel van IJperen Date: Wed, 12 Jul 2023 21:27:19 +0200 Subject: [PATCH] Update base image to 1.20.6-bookworm Update golang base image from `1.20.5` to `1.20.6`. Go `1.20.6` fixes a CVE: * [CVE-2023-29406] https://nvd.nist.gov/vuln/detail/CVE-2023-29406 Switched from `buster` to `bookworm` to be in line with `latest`. This guarantees quick update availability (1.20.6-buster is not released yet). --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 52093bc..b104caa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.5-buster AS build +FROM golang:1.20.6-bookworm AS build ARG VERSION="local" COPY . /app WORKDIR /app