Skip to content

Use multi-stage builds in Dockerfiles #36

Description

@mochiruntime

Should we use multi-stage builds?

This would improve the size and the security of the images, because the build tools would stay in the builder step image. Then we only transfer the required compiled assets and have a final image that is minimal and that only contains the runtime and the executed code.

See original discussion in #33 (comment)_

Other links:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildImproves the build system (devcontainer, dependencies, ...)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions