diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 302e7fb8d..6a22078c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ env: # /dev.Dockerfile # /make/builder.Dockerfile # /.github/workflows/release.yml - GO_VERSION: 1.19.0 + GO_VERSION: 1.19.2 jobs: ######################## diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e4479d0ef..92a8f074a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ env: # /dev.Dockerfile # /make/builder.Dockerfile # /.github/workflows/main.yml - GO_VERSION: 1.19.0 + GO_VERSION: 1.19.2 jobs: main: diff --git a/.travis.yml b/.travis.yml index 07ecdf09e..c6a925020 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ go: # /make/builder.Dockerfile # /.github/workflows/main.yml # /.github/workflows/release.yml - - "1.19" + - "1.19.2" env: global: diff --git a/Dockerfile b/Dockerfile index e27472d8e..9205d4e50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # /make/builder.Dockerfile # /.github/workflows/main.yml # /.github/workflows/release.yml -FROM golang:1.19-alpine as builder +FROM golang:1.19.2-alpine as builder # Force Go to use the cgo based DNS resolver. This is required to ensure DNS # queries required to connect to linked containers succeed. diff --git a/dev.Dockerfile b/dev.Dockerfile index 9f864071d..c03bf8b73 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -4,7 +4,7 @@ # /make/builder.Dockerfile # /.github/workflows/main.yml # /.github/workflows/release.yml -FROM golang:1.19-alpine as builder +FROM golang:1.19.2-alpine as builder LABEL maintainer="Olaoluwa Osuntokun " diff --git a/docker/btcd/Dockerfile b/docker/btcd/Dockerfile index 189a983d5..756ddde65 100644 --- a/docker/btcd/Dockerfile +++ b/docker/btcd/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine as builder +FROM golang:1.19.2-alpine as builder LABEL maintainer="Olaoluwa Osuntokun " diff --git a/docker/ltcd/Dockerfile b/docker/ltcd/Dockerfile index 940e7a742..ed0e9d1e8 100644 --- a/docker/ltcd/Dockerfile +++ b/docker/ltcd/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine as builder +FROM golang:1.19.2-alpine as builder LABEL maintainer="Olaoluwa Osuntokun " diff --git a/docs/release-notes/release-notes-0.16.0.md b/docs/release-notes/release-notes-0.16.0.md index fda3764de..b13b729ba 100644 --- a/docs/release-notes/release-notes-0.16.0.md +++ b/docs/release-notes/release-notes-0.16.0.md @@ -43,6 +43,10 @@ transaction](https://github.com/lightningnetwork/lnd/pull/6730). 1.19](https://github.com/lightningnetwork/lnd/pull/6795)! Go 1.18 is now the minimum version needed to build the project. +[The minimum recommended version of the Go 1.19.x series is 1.19.2 because +1.19.1 contained a bug that affected lnd and resulted in a +crash](https://github.com/lightningnetwork/lnd/pull/7019). + ## Misc * [Fixed a bug where the Switch did not reforward settles or fails for diff --git a/lnrpc/Dockerfile b/lnrpc/Dockerfile index 7f8bb4b5c..5f6dde8f8 100644 --- a/lnrpc/Dockerfile +++ b/lnrpc/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-buster +FROM golang:1.19.2-buster RUN apt-get update && apt-get install -y \ git \ diff --git a/make/builder.Dockerfile b/make/builder.Dockerfile index fd636706d..f89c47d2a 100644 --- a/make/builder.Dockerfile +++ b/make/builder.Dockerfile @@ -4,7 +4,7 @@ # /dev.Dockerfile # /.github/workflows/main.yml # /.github/workflows/release.yml -FROM golang:1.19-buster +FROM golang:1.19.2-buster MAINTAINER Olaoluwa Osuntokun diff --git a/tools/Dockerfile b/tools/Dockerfile index 1bec60a4e..2707e0f67 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-buster +FROM golang:1.19.2-buster RUN apt-get update && apt-get install -y git ENV GOCACHE=/tmp/build/.cache