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

First class support for creating production bundles #162

Open
alecthomas opened this issue Dec 5, 2021 · 3 comments
Open

First class support for creating production bundles #162

alecthomas opened this issue Dec 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@alecthomas
Copy link
Collaborator

alecthomas commented Dec 5, 2021

A good point was brought up in the announcement post on Lobsters - that while Hermit solves consistent tooling across workstation and CI, it doesn't for deploys. I suggested a couple of workarounds in that thread, but it would be nice for Hermit to provide direct support.

I'm not sure what that would look like in practice? Maybe:

hermit bundle --os=<os> --arch=<arch> <dest> <pkg> [<pkg> ...]

This could create a self-contained tgz or directory with the specified packages and dependencies, bin symlinks, and an activate.sh with all the uninterpolated envars, that does not rely on Hermit at all for runtime.

@alecthomas alecthomas changed the title First class integration with Docker? First class support for creating production bundles Dec 5, 2021
@alecthomas alecthomas added the enhancement New feature or request label Dec 5, 2021
@damienrj
Copy link
Contributor

This would be great for scenarios where you don't have open access to the internet to pull in packages at run time.

@gedw99
Copy link

gedw99 commented Nov 18, 2022

this is an awesome feature for lean architectures.

offline install like @damienrj mentioned is very cool.

@gedw99
Copy link

gedw99 commented Nov 18, 2022

I raised an Issue for using NATS for persistence and other things.
It would also integrate with CI and Production well too which this issue is pertaining to to some degree.

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

No branches or pull requests

3 participants