LoginSignup
0
0

More than 1 year has passed since last update.

DockerでGolang1.16.xビルド時に`//go:build comment without // +build comment`

Last updated at Posted at 2022-05-03

経緯

Docker上でgolang1.16.xを実行中にエラーが発生した

../pkg/mod/golang.org/x/tools@v0.1.10/go/internal/cgo/cgo.go:67:2: //go:build comment without // +build comment

対応

1.17.xバージョンあげたら治った。

FROM golang:1.17.9-alpine3.15
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0