News for hackers. Stuff that matters.
Re:Goodbye Docker and Thanks for all the Fish by syntheticcdo on Monday March 11, 2019 @02:55AM (#19357174)
The point of the && in a Dockerfile is because every single RUN directive adds another layer to the final image. Less layers = slimmer images = faster and lighter deploys.
Re:Goodbye Docker and Thanks for all the Fish by aib on Wednesday March 13, 2019 @05:40AM (#19377111)
Yes. Also, the only thing that survives between RUN directives is the disk image so && saves state:

start-daemon && configure-daemon-while-running && stop-daemon

The point is, I've seen far more && than RUN directives so the decision was backwards.