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

Use Spring Boot layered jars to optimize Docker images #155

Merged
merged 3 commits into from
Jun 24, 2020

Conversation

arey
Copy link
Member

@arey arey commented Jun 22, 2020

The spring-boot-maven-plugin is configured to use the default layerd jars:

The Dockerfile has been updated with multi-staged build. The builder stage extract the JAR. Each directories belgons to a Docker layer
More information on https://spring.io/blog/2020/01/27/creating-docker-images-with-spring-boot-2-3-0-m1

@arey arey merged commit 39fe20b into spring-petclinic:master Jun 24, 2020
@arey arey deleted the feature/layered-jar branch August 2, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant