bottlerocket-os / twoliter

A build tool for customizing Bottlerocket
Other
24 stars 25 forks source link

twoliter ignores `GO_MODULES` environment variable #312

Open cbgbt opened 5 months ago

cbgbt commented 5 months ago

When building variants, twoliter currently finds all golang modules that live under sources and prepares those modules to be used during the build process. In some cases, there may be sources that the author does not intend to use during the build.

It would be useful if the GO_MODULES environment variable could be supplied to explicitly set the modules that should be used during the build.