From 298afbea3fdbb3f25d5a014094dc2913a792a708 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sat, 21 Sep 2024 18:17:58 +0200 Subject: [PATCH] docker: downgrade static build to Go 1.22 to avoid https://github.com/golang/go/issues/68976 Signed-off-by: deadprogram --- Dockerfile.opencv-static | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.opencv-static b/Dockerfile.opencv-static index c900b0c8..e150d3d6 100644 --- a/Dockerfile.opencv-static +++ b/Dockerfile.opencv-static @@ -11,7 +11,7 @@ # amd64 build stage ################### -FROM --platform=linux/amd64 golang:1.23-bullseye AS opencv-base-amd64 +FROM --platform=linux/amd64 golang:1.22-bullseye AS opencv-base-amd64 LABEL maintainer="hybridgroup" RUN apt-get update && apt-get install -y \ @@ -87,7 +87,7 @@ RUN cd opencv-${OPENCV_VERSION} && \ # arm64 build stage ################### -FROM --platform=linux/arm64 golang:1.23-bullseye AS opencv-base-arm64 +FROM --platform=linux/arm64 golang:1.22-bullseye AS opencv-base-arm64 LABEL maintainer="hybridgroup" RUN apt-get update && apt-get install -y \