Skip to content
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

crypto/ecdh: package crypto/ecdh is not in GOROOT (/usr/local/go/src/crypto/ecdh) #144

Closed
dlfree-xzn-ir opened this issue Jun 10, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@dlfree-xzn-ir
Copy link

dlfree-xzn-ir commented Jun 10, 2023

Dockerfile:

FROM caddy:2.7-builder-alpine AS app_caddy_builder

RUN xcaddy build v2.6.4 \
	--with github.com/dunglas/mercure/caddy \
	--with github.com/dunglas/vulcain/caddy

##############
docker compose up -d:

[caddy app_caddy_builder 2/2] RUN xcaddy build v2.6.4 --with github.com/dunglas/mercure/caddy --with github.com/dunglas/vul 114.8s

##############
error:

#0 777.9 github.com/dunglas/mercure/caddy imports
#0 777.9 github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile imports
#0 777.9 github.com/caddyserver/caddy/v2/modules/caddytls imports
#0 777.9 github.com/smallstep/certificates/authority/provisioner imports
#0 777.9 github.com/slackhq/nebula/cert imports
#0 777.9 crypto/ecdh: package crypto/ecdh is not in GOROOT (/usr/local/go/src/crypto/ecdh)

failed to solve: process "/bin/sh -c xcaddy build v2.6.4 \t--with github.com/dunglas/mercure/caddy \t--with github.com/dunglas/vulcain/caddy" did not complete successfully: exit code: 1

@francislavoie
Copy link
Member

See api-platform/api-platform#2452

@francislavoie francislavoie closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2023
@francislavoie francislavoie added the invalid This doesn't seem right label Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants