-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install in Docker base image alpine (package crypto/ecdh is not in GOROOT) #259
Comments
May I know the purpose of |
I just start an alpine distro with
and it seems to work fine. Maybe there's no need to Here's also Go's documentation on dependency-related commands: https://pkg.go.dev/cmd/go#hdr-Add_dependencies_to_current_module_and_install_them. |
|
You're right @gaukas , last version of Go installed from Thanks @zedifen , but I still got an error in my environment |
Glad the issue is solved! Just for everyone's information, I searched for alpine Docker image and saw this page https://hub.docker.com/_/alpine. Looks like the And it turns out that my alpine is on I also searched for Sorry that I'm not running Docker, so I'm not sure what's in your |
Works fine in Debian image.
Error:
/root/go/pkg/mod/github.com/refraction-networking/utls@v1.5.4/cfkem.go:25:2: package crypto/ecdh is not in GOROOT (/usr/lib/go/src/crypto/ecdh)
Encountered that error when installing https://github.com/projectdiscovery/subfinder into a custom alpine image.
The text was updated successfully, but these errors were encountered: