From 6f6cc088598bc7c136008a725106f585865c1a88 Mon Sep 17 00:00:00 2001 From: Bill Havanki Date: Wed, 14 Jun 2023 20:04:46 -0400 Subject: [PATCH] build: Pin to golang:1.19.9 for Docker builds The next version, 1.19.10, is based on Debian 12 (bookworm), which has a newer glibc version (2.36) than Ubuntu 20.04 (2.31), which our images are based on. So, a Go executable built on the 1.19.10 image can't run because glibc in the resulting image is too old. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 71a3bb4..24ac87d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Fetch or build all required binaries -FROM golang:1.19 as builder +FROM golang:1.19.9 as builder ARG VERSION_REF RUN test -n "${VERSION_REF}"