Skip to content

Fix go/alpine Docker version to correct build breakage#988

Merged
evilsocket merged 1 commit intobettercap:masterfrom
tranzmatt:master
Nov 17, 2022
Merged

Fix go/alpine Docker version to correct build breakage#988
evilsocket merged 1 commit intobettercap:masterfrom
tranzmatt:master

Conversation

@tranzmatt
Copy link
Contributor

Go 1.18.5+ seems to break on alpine with

go: downloading github.com/mattn/go-isatty v0.0.13

github.com/chifflier/nfqueue-go/nfqueue

/go/pkg/mod/github.com/chifflier/nfqueue-go@v0.0.0-20170228160439-61ca646babef/nfqueue/nfqueue.go:187:29: could not determine kind of name for C.u_int16_t
/go/pkg/mod/github.com/chifflier/nfqueue-go@v0.0.0-20170228160439-61ca646babef/nfqueue/nfqueue.go:269:35: could not determine kind of name for C.u_int32_t
/go/pkg/mod/github.com/chifflier/nfqueue-go@v0.0.0-20170228160439-61ca646babef/nfqueue/nfqueue.go:257:27: could not determine kind of name for C.u_int8_t
make: *** [Makefile:9: build] Error 2

Rolling the version go version back on the Dockerfile to 1.16 seems to correct this.

@evilsocket evilsocket merged commit 24a5dfe into bettercap:master Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants