mudler / luet

:package: :whale: 0-dependency Container-based Package Manager using SAT solver and QLearning
https://luet.io
GNU General Public License v3.0
261 stars 24 forks source link

Create final images with go-containerregistry #266

Closed mudler closed 2 years ago

mudler commented 2 years ago

https://github.com/mudler/luet/blob/5e8a9c75dc16eedc0cf359f03e068ecaaac8d211/pkg/api/core/types/artifact/artifact.go#L217

Instead of invoking the backend, we should explore if it's possible to recreate an image with go-containerregistry from the tar artifact at hand. This has several advantages: