Skip to content

Commit

Permalink
github+Docker: bump and fix go version to 1.16.8
Browse files Browse the repository at this point in the history
There's a race condition in the h2_bundle.go of go 1.17 and later. The
issue golang/go#51799 mentions that this might
be fixed in go 1.19, so we'll need to wait for that.
We make sure we build our docker images with go 1.16.8 to not run into
the issue in the wild.
  • Loading branch information
guggero committed Mar 25, 2022
1 parent 729631f commit 0415aed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ env:

# If you change this value, please change it in the following files as well:
# /Dockerfile
GO_VERSION: 1.17.8
#
# Don't bump this until go 1.19 is out (which should include a fix for
# https://github.com/golang/go/issues/51799).
GO_VERSION: 1.16.8

jobs:
########################
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM golang:1.15.5-alpine as builder
# Don't bump this until go 1.19 is out (which should include a fix for
# https://github.com/golang/go/issues/51799).
FROM golang:1.16.8-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.
Expand Down

0 comments on commit 0415aed

Please sign in to comment.