You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To minimize the size of the image we probably want to build haproxy in one container and then copy the build outputs into the next container. This way the build tools are not in the haproxy container (smaller/safer image).
To which apt-installed dependencies are you referring to in the final image? The Dockerfile goes to great lengths to ensure that only packages that are linked to are kept after building haproxy, so things like gcc and make are definitely removed:
To minimize the size of the image we probably want to build haproxy in one container and then copy the build outputs into the next container. This way the build tools are not in the haproxy container (smaller/safer image).
https://docs.docker.com/build/building/multi-stage/
https://github.com/b4tman/docker-squid/blob/master/Dockerfile
The text was updated successfully, but these errors were encountered: