Skip to content

Idea: Support creation of optimized docker images #23

Description

@raphiz

Provide an easy way to build optimised layered images - or at least document how to do it.

My idea is to have a base layer with the JDK/JRE + Bash, at least one "vendor" layer (all linked dependencies squeezed into one layer) and an "app" layer containing only the unlinked jars. Users can then further subdivide the vendor layer into multiple layers, e.g. to group Spring/Kotlin dependencies.

This might also be a good point to (optimally) configure a JRE to be used at runtime instead of a JDK.

Related 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

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions