Skip to content

Use multi-stage buildΒ #230

@taliesins

Description

@taliesins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions