Skip to content

Reduce Docker Daemon Context #55

@OneCricketeer

Description

@OneCricketeer

Subject of the issue

The context sends too much information, IMO

 => [internal] load build context                                                                                                                                                                                                                                                                             0.4s
 => => transferring context: 24.65MB 

Steps to reproduce

./gradlew clean build
docker build --no-cache -t img .

Expected behaviour

The context can be reduced to only include the necessary files.

Ideally, multi-stage builds are used from a gradle base image, then copied to the JRE image.

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