#go mod vendor inside dagger

1 messages · Page 1 of 1 (latest)

mystic swan
#

Looks like vendor/modules.txt is not available inside the container. Maybe an optimization that only sends *.go files ? No idea

#

go mod vendor inside dagger

mystic swan
#

When i do dagger call go env terminal i don't have the issue.

#

Fixed! Needed to add "!vendor/**/*", to cmd/dagger/.dagger/main.go's source's +ignore.

languid arrow
#

to have it included ?

mystic swan
#

yes

#

double negation: "ignore" + exclamation mark-negation