|
|
|
|
|
by OptionOfT
191 days ago
|
|
I like to build my stuff inside of Docker because it is my moat against changes of the environment. We have our base images, and in there we install dependencies by version. That package then is the base for our code build. (as apt seemingly doesn't have any lock file support?). In the subsequent built EVERYTHING is versioned, which allows us to establish provenance all the way up to the base image. And next to that when we promote images from PR -> main we don't even rebuild the code. It's the same image that gets retagged. All in the name of preserving provenance. |
|
Once you have your container image, how you decide to promote it is a piece of cake, skopeo doesn't require root and often doesn't require re-pulling the full tar. Containerization is great, I'm specifically trying to point out that there are alternatives to Docker.