Skip to content

build: update Dockerfile default go version to 1.21 - #42

Merged
calvinrzachman merged 1 commit into
lightninglabs:mainfrom
calvinrzachman:build
May 31, 2024
Merged

calvinrzachman merged 1 commit into
lightninglabs:mainfrom
calvinrzachman:build

Conversation

@calvinrzachman

Copy link
Copy Markdown
Contributor

I think there were some changes to how go.mod files are handled such that we need to move up to 1.21.

Fixes: https://github.com/lightninglabs/lndinit/actions/runs/9318276549/job/25650275261

/go/src/github.com/lightninglabs/lndinit &&  cd /go/src/github.com/lightninglabs/lndinit &&  git checkout v0.1.21-beta &&  make release-install:
6.002   git switch -
6.002 
6.002 Turn off this advice by setting config variable advice.detachedHead to false
6.002 
6.002 HEAD is now at 5f75c60 Merge pull request #41 from calvinrzachman/lnd-v0.18.0-beta
6.010 \033[0;32m Installing release lndinit.\033[0m
6.011 env CGO_ENABLED=0 go install -v -v -trimpath -ldflags=" -s -w -buildid= -X github.com/lightninglabs/lndinit.Commit=docker/v0.1.21-beta-lnd-v0.18.0-beta" -tags="" github.com/lightninglabs/lndinit
6.015 go: errors parsing go.mod:
6.015 /go/src/github.com/lightninglabs/lndinit/go.mod:199: invalid go version '1.21.10': must match format 1.23
6.015 make: *** [Makefile:90: release-install] Error 1

@calvinrzachman
calvinrzachman requested review from djkazic and guggero May 31, 2024 12:49
Comment thread Dockerfile Outdated
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.20.3
ARG GO_VERSION=1.21.10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we go straight to 1.22.3?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me. Updated ✅

@calvinrzachman
calvinrzachman merged commit a5fa79d into lightninglabs:main May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants