When I build images with docker build
the output contains the context size, e.g.:
Sending build context to Docker daemon 1.315GB
[...]
Successfully built a9ec4d33e12e
Does this size affect the resulting image size? Should I seek to reduce it?
Does this size affect the resulting image size?
No
Should I seek to reduce it?
Yes. It saves time building the image.
source:
https://medium.com/better-programming/docker-tips-about-the-build-context-dbc76505e178