Closed williamdes closed 3 years ago
@williamdes out of curiosity, what type of comparisons would be beneficial to you? Right now I mostly focus on size.
@williamdes out of curiosity, what type of comparisons would be beneficial to you? Right now I mostly focus on size.
Size too ;)
I am using Dive on your container and will try to make a PR in 30min to improve the layers
Your image is awesome 👏🏻
I would also compare image layers, some people use Docker the wrong way and make useless layers
Example useless layers:
RUN rm /foo/bar
RUN rm /foo/baz
Use
RUN rm /foo/bar && \
rm /foo/baz
And for stupid layers that add weight
RUN install package
RUN cleanup files
vs
RUN install package && \
cleanup files
Example useless layers
Yeah, the project goes into great lengths to try and minimize the footprint since that was the main goal. I'm sure we've done local Wordpress development once or twice in our lives..