From 793e50c8297b2b23edab0d8b6468672ef5b28bd0 Mon Sep 17 00:00:00 2001 From: scorpioborn <97235353+scorpioborn@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:05:38 +0330 Subject: [PATCH] fix: proto dockerfile and makefile v1.23 --- Makefile | 4 ++-- proto/Dockerfile | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f8e31a20..533143bf 100644 --- a/Makefile +++ b/Makefile @@ -115,8 +115,8 @@ endif ############################################################################### check_version: -ifneq ($(GO_MINOR_VERSION),23) - @echo "ERROR: Go version 1.23 is required for this version of SGE." +ifeq ($(shell expr $(GO_MINOR_VERSION) \< 23), 1) + @echo "ERROR: Go version 1.23+ is required for this version of SGE." exit 1 endif diff --git a/proto/Dockerfile b/proto/Dockerfile index a9999624..0e699d8d 100644 --- a/proto/Dockerfile +++ b/proto/Dockerfile @@ -3,8 +3,7 @@ FROM bufbuild/buf:1.9.0 as BUILDER -FROM golang:1.23-alpine3.18 - +FROM golang:1.23-alpine3.20 RUN apk add --no-cache \ nodejs \