Skip to content

Commit

Permalink
docker: downgrade static build to Go 1.22 to avoid golang/go#68976
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Sep 21, 2024
1 parent 1eda697 commit 298afbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.opencv-static
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 298afbe

Please sign in to comment.