Commit 68182797 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Fix typo

See gh-20049
parent 0083a59f
......@@ -7717,7 +7717,7 @@ Spring Boot applications can be containerized by packaging them into Docker imag
A typical Spring Boot fat jar can be converted into a Docker image by adding just a few lines to a Dockerfile that can be used to build the image.
However, there are various downsides to copying and running the fat jar as is in the docker image.
There’s always a certain amount of overhead when running a fat jar without unpacking it, and in a containerized environment this can be noticeable.
The other issue is that putting your application's code and all it's dependencies in one layer in the Docker image is sub-optimal.
The other issue is that putting your application's code and all its dependencies in one layer in the Docker image is sub-optimal.
Since you probably recompile your code more often than you upgrade the version of Spring Boot you use, it’s often better to separate things a bit more.
If you put jar files in the layer before your application classes, Docker often only needs to change the very bottom layer and can pick others up from its cache.
......
......@@ -26,7 +26,7 @@ Andy Wilkinson, Scott Frederick
:api-documentation: {spring-boot-docs}/gradle-plugin/api
:spring-boot-reference: {spring-boot-docs}/reference/htmlsingle
:spring-boot-api: {spring-boot-docs}/api/org/springframework/boot
:version-properties-appendix: {spring-boot-reference}/#dependency-versions-coordinates
:version-properties-appendix: {spring-boot-reference}/#dependency-versions-properties
:build-info-javadoc: {api-documentation}/org/springframework/boot/gradle/tasks/buildinfo/BuildInfo.html
:boot-build-image-javadoc: {api-documentation}/org/springframework/boot/gradle/tasks/bundling/BootBuildImage.html
:boot-jar-javadoc: {api-documentation}/org/springframework/boot/gradle/tasks/bundling/BootJar.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment