[surro-linux] Docker image rm on build

Chris Punches chris.punches at silogroup.org
Sun Jul 11 22:03:08 EDT 2021


I like the idea; so what would this look like?

make
make container
make iso
make clean

...?  

One of the concerns at not having this be in the make stage is that
subsequent builds would cause different results, and could compromise
idempotency.  If that's not accurate please let me know.

-C

On Sat, 2021-07-10 at 12:57 +0000, OmnidApps LLC wrote:
> Hello all,
> 
> Instead of docker image rm inside of build, wouldn't it be better to
> just make that part of the make clean stage? Reason being, the
> initial build does a lot of stuff which takes a bit of time. Of
> course, I could just comment the docker image rm line, but normally I
> am used to these sort of artifacts sticking around unless a clean is
> run.
> 
> Thoughts?
> 
> Cheers
> 
> Sent with ProtonMail Secure Email.
> 




More information about the surro-linux mailing list