pterodactyl / development

Development environment setup for Pterodactyl. This is used internally by our development team to ensure getting Pterodactyl running in a development environment is a painless as possible.
Apache License 2.0
30 stars 30 forks source link

Go version too old for build wings #17

Open WeeskyBDW opened 6 months ago

WeeskyBDW commented 6 months ago

When trying to build wings, i have the following error:

root@fc6e4a1edded:/home/root/wings# go run 
go: no go files listed
root@fc6e4a1edded:/home/root/wings# go build
go: downloading github.com/apex/log v1.9.0
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
go: downloading github.com/chenzhuoyu/iasm v0.9.1
go: downloading golang.org/x/mod v0.16.0
github.com/pterodactyl/wings imports
        github.com/pterodactyl/wings/cmd imports
        github.com/pterodactyl/wings/router imports
        github.com/pterodactyl/wings/server/filesystem imports
        slices: package slices is not in GOROOT (/usr/local/go/src/slices)
go: warning: modernc.org/sqlite@v1.29.4: retracted by module author: tagged accidentally w/o builders checking the commit
go: to switch to the latest unretracted version, run:
        go get modernc.org/sqlite@latest

(i shorted output by removing other line where go successfully get a package)

Error can be solve by upgrade go version in Dockerfile