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

Vendor go dependencies #505

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bentekkie
Copy link

@bentekkie bentekkie commented Apr 2, 2025

By vendoring go dependencies using https://go.dev/ref/mod#vendoring it makes it much easier to build rootlesskit in a repeatable and even offline way.

Fixes: #504

Signed-off-by: Ben Segall <bentekkie@google.com>
Signed-off-by: Ben Segall <bentekkie@google.com>
Signed-off-by: Ben Segall <bentekkie@google.com>
Signed-off-by: Ben Segall <bentekkie@google.com>
@AkihiroSuda
Copy link
Member

it much easier to build rootlesskit in a repeatable and even offline way.

I don't think this affects repeatability? (As long as github.com or proxy.golang.org is alive)

@AkihiroSuda
Copy link
Member

This increases the repo size by 12MiB, so I'd like to see a strong reason to merge this

@AkihiroSuda
Copy link
Member

An alternative idea would be to attach vendor.tar.gz in a release artifact

e.g., lima-1.0.7-go-mod-vendor.tar.gz in https://github.com/lima-vm/lima/releases/tag/v1.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider vendoring dependencies
2 participants