githubnemo / CompileDaemon

Very simple compile daemon for Go
BSD 2-Clause "Simplified" License
1.63k stars 155 forks source link

golang:latest error #49

Closed jpcyrenne closed 4 years ago

jpcyrenne commented 4 years ago

Good day,

I followed the Tut at https://levelup.gitconnected.com/docker-for-go-development-a27141f36ba9 great work... Thanks.

I kept getting this build error: step 6/7 ... go build golang.org/x/sys/internal/unsafeheader: module requires Go 1.12 ERROR: Service 'go-docker-image' failed to build: The command '/bin/sh -c go get github.com/githubnemo/CompileDaemon' returned a non-zero code: 1

I changed the Dockerfile from golang:latest to golang:1.2 and it did the trick. (maybe you could correct this in your repo for others)

Any idea on Golang 1.14 support? (Seems to be the issue for me anyways)

Thanks again in advance. JP

jpcyrenne commented 4 years ago

Hummm. this may be a false alert?!

I used golang:1.14 in the Docker file and it worked?

docker exec -it sh /# go version go version go1.14.2 linux/amd64

I never checked before?

Sorry for the noise.

JP