From e73b2a7e222e759a4db9f0e38118fbc40ddb078f Mon Sep 17 00:00:00 2001 From: riley-stride <104941670+riley-stride@users.noreply.github.com> Date: Fri, 12 Jan 2024 00:21:12 -0600 Subject: [PATCH] Ignore host's check_go_version (#1072) this allows juno host to build on go1.21 --- dockernet/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockernet/build.sh b/dockernet/build.sh index 6b898142db..758d1c7d80 100755 --- a/dockernet/build.sh +++ b/dockernet/build.sh @@ -31,7 +31,7 @@ build_local_and_docker() { # the binary if the machine's go version does not match exactly, # however, we can relax this constraint # The following command overrides the check_version using a temporary Makefile override - BUILDDIR=$BUILDDIR make -f Makefile -f <(echo -e 'check_version: ;') build --silent + BUILDDIR=$BUILDDIR make -f Makefile -f <(echo -e 'check_version: ;\ncheck_go_version: ;') build --silent local_build_succeeded=${PIPESTATUS[0]} cd $stride_home