Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce Docker Daemon Context #55

Open
OneCricketeer opened this issue May 31, 2023 · 0 comments
Open

Reduce Docker Daemon Context #55

OneCricketeer opened this issue May 31, 2023 · 0 comments

Comments

@OneCricketeer
Copy link
Contributor

OneCricketeer commented May 31, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant