-
Notifications
You must be signed in to change notification settings - Fork 123
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
Idea: melange init #177
Comments
Hi @imjasonh , I think I have worked on something similar earlier for another project and have an idea on how we can do this, so if this is not being worked on by someone else, I will try to do this as I myself am playing with melange and wolfi these days and I have to copy some or the other yaml to get boilerplate ready, would love to do this! thanks! |
I think it's still worth doing! We also now have a lot more examples in the Wolfi repo, and wolfictl as a sandbox for features like this. It might make sense to have We could also do some Charm magic to build the YAML from common questions (source repo, language ecosystem to choose a template, etc) cc @luhring |
Sounds great and interesting only, so probably we should do this for thanks a lot! |
It'd be cool to have a command to scaffold out a basic melange.yaml file. As a strawman, a basic
melange init
could emit a file containing:This could be expanded with options like
melange init --package-repo=alpine
orwolfi
, which would populate the.environment.contents.repositories
andkeyring
with those values.(If this sounds good we could also consider an
apko init
, with similar--package-repo
flag, and a--nonroot
flag to spit out the nonroot user boilerplate)cc @eddiezane who actually had this idea
The text was updated successfully, but these errors were encountered: