3 ms·
Since I learned that OCI images are pretty much archives with metadata, I've been thinking about applying that to other stuff. Like, it would be cool to have a
by pid-1 5y ago
Since I learned that OCI images are pretty much archives with metadata, I've been thinking about applying that to other stuff.
Like, it would be cool to have all my python virtualenvs saved in bundles so they could be reused by other others, without all the container bloat.
- ecnahc515 5y agoOCI is starting to be used for more non-container things like your describing actually. One example I'm aware of is the Helm tool in Kubernetes, which has support for using OCI as a method of storing/transporting helm charts (which are effectively just tarballs of Go templates/yaml). I I think your challenge for virtualenvs would be that virtualenvs generally are not relocatable, as they hardcode absolute paths within the generated scripts (eg: venv/bin/activate`).
- tyingq 5y agoSounds like a Java jar/war file...
- nonameiguess 5y agoAnd apk, deb, rpm, whl, msi. Virtually all packaging formats come down to "archive plus metadata."
- tyingq 5y agoYes, though narrowed down to "packaging for a python virtual environment" draws closer to jar/war.
- deleted 5y ago[deleted]