Skip to content

shrink runtime image size #1

Description

@fexd12

The runtime image is heavy. The single-stage Dockerfile bakes full Go packages, source code, etc..
Theres some optimization ideas we can use like Multi-stage build, separate builds and runtime layers.

I can do this if you thinks its acceptable

I build the original docker image 312MB
with the multi stage layers only with the binary wserver: 18.5MB

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