elohmeier / flakeforge Goto Github PK
View Code? Open in Web Editor NEWContainer registry generating container image tarfiles on the fly
License: MIT License
Container registry generating container image tarfiles on the fly
License: MIT License
First, thanks for this! I've been very interested in Nixery and looking for alternative implementations/approaches. It's great to see how minimal this is able to be.
It looks like this is great for serving a container that's already going to have everything in it that's needed for runtime container use— however, the resulting configuration is fixed in the sense that there's no ability to include and run Nix itself, no nix.conf or sqlite db for the store, etc.
How much effort would be required to make the returned image include a "live" Nix environment such that it can be built upon at runtime? Is such a thing even in scope for a project like this, or is that more something for the upstream dockerTools.streamLayeredImage
to implement?
Looks like the DB part at least is non-trivial, per NixOS/nix#3091 it isn't even really possible to generate it after the fact (which wouldn't be ideal anyway, since you'd have to do it on every container start), it would be on the serving tool (flakehub) to track all the included store paths and synthesize a correct DB for them in a separate layer.
Wait... no, it looks like this actually does exist already upstream, at least in part:
So maybe it really is a matter for the serving tool (flakehub) to have a flag or something to enable it? Or maybe a way to set it to default-on or -off, with a meta
option that can be set on individual flakes to override the global config?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.