fyoorer / ShadowClone

Unleash the power of cloud
Apache License 2.0
718 stars 95 forks source link

Update Dockerfile #50

Closed osamahamad closed 3 months ago

osamahamad commented 3 months ago

Install latest version of go instead of the mentioned one

abone installing today with the mentioned Dockerfile. The app through this error when it reaches subfinder install command:

10.89 /go/pkg/mod/github.com/projectdiscovery/utils@v0.1.0/errkit/errors.go:9:2: package log/slog is not in GOROOT (/usr/local/go/src/log/slog)
10.89 note: imported by a module that requires go 1.21
10.89 /go/pkg/mod/github.com/projectdiscovery/httpx@v1.6.3/common/httpx/title.go:12:2: package slices is not in GOROOT (/usr/local/go/src/slices)
10.89 note: imported by a module that requires go 1.21

As can be seen, the latest version of Subfinder and possibly other projectdiscovery tools requires Go 1.21 or above.

fyoorer commented 3 months ago

Thanks for the PR, I merged another PR that updates golang to the latest version.