Skip to content

Commit e891a3e

Browse files
committed
Polish adoc formatting
1 parent eecb15d commit e891a3e

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

Diff for: spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/servlet.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ For example, adding the following bean will automatically apply a `SameSite` of
611611
include::code:MySameSiteConfiguration[]
612612

613613

614+
614615
[[web.servlet.embedded-container.customizing.encoding]]
615616
===== Character Encoding
616617
The character encoding behavior of the embedded servlet container for request and response handling can be configured using the `server.servlet.encoding.*` configuration properties.

Diff for: spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/packaging-oci-image.adoc

+12-5
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,10 @@ The publish option can be specified on the command line as well, as shown in thi
397397
$ gradle bootBuildImage --imageName=docker.example.com/library/my-app:v1 --publishImage
398398
----
399399

400+
401+
400402
[[build-image.examples.caches]]
401403
=== Builder Cache Configuration
402-
403404
The CNB builder caches layers that are used when building and launching an image.
404405
By default, these caches are stored as named volumes in the Docker daemon with names that are derived from the full name of the target image.
405406
If the image name changes frequently, for example when the project version is used as a tag in the image name, then the caches can be invalidated frequently.
@@ -418,12 +419,15 @@ include::../gradle/packaging/boot-build-image-caches.gradle[tags=caches]
418419
include::../gradle/packaging/boot-build-image-caches.gradle.kts[tags=caches]
419420
----
420421

422+
423+
421424
[[build-image.examples.docker]]
422425
=== Docker Configuration
423426

427+
428+
424429
[[build-image.examples.docker.minikube]]
425430
==== Docker Configuration for minikube
426-
427431
The plugin can communicate with the https://minikube.sigs.k8s.io/docs/tasks/docker_daemon/[Docker daemon provided by minikube] instead of the default local connection.
428432

429433
On Linux and macOS, environment variables can be set using the command `eval $(minikube docker-env)` after minikube has been started.
@@ -442,9 +446,10 @@ include::../gradle/packaging/boot-build-image-docker-host.gradle[tags=docker-hos
442446
include::../gradle/packaging/boot-build-image-docker-host.gradle.kts[tags=docker-host]
443447
----
444448

449+
450+
445451
[[build-image.examples.docker.podman]]
446452
==== Docker Configuration for podman
447-
448453
The plugin can communicate with a https://podman.io/[podman container engine].
449454

450455
The plugin can be configured to use podman local connection by providing connection details similar to those shown in the following example:
@@ -463,9 +468,10 @@ include::../gradle/packaging/boot-build-image-docker-host-podman.gradle.kts[tags
463468

464469
TIP: With the `podman` CLI installed, the command `podman info --format='{{.Host.RemoteSocket.Path}}'` can be used to get the value for the `docker.host` configuration property shown in this example.
465470

471+
472+
466473
[[build-image.examples.docker.colima]]
467474
==== Docker Configuration for Colima
468-
469475
The plugin can communicate with the Docker daemon provided by https://github.com/abiosoft/colima[Colima].
470476
The `DOCKER_HOST` environment variable can be set by using the command `export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}').`
471477

@@ -483,9 +489,10 @@ include::../gradle/packaging/boot-build-image-docker-host-colima.gradle[tags=doc
483489
include::../gradle/packaging/boot-build-image-docker-host-colima.gradle.kts[tags=docker-host]
484490
----
485491

492+
493+
486494
[[build-image.examples.docker.auth]]
487495
==== Docker Configuration for Authentication
488-
489496
If the builder or run image are stored in a private Docker registry that supports user authentication, authentication details can be provided using `docker.builderRegistry` properties as shown in the following example:
490497

491498
[source,groovy,indent=0,subs="verbatim,attributes",role="primary"]

Diff for: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging-oci-image.adoc

+12-5
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,10 @@ and reference the properties in the XML configuration:
372372
include::../maven/packaging-oci-image/docker-pom-authentication-command-line.xml[tags=docker]
373373
----
374374

375+
376+
375377
[[build-image.examples.caches]]
376378
=== Builder Cache Configuration
377-
378379
The CNB builder caches layers that are used when building and launching an image.
379380
By default, these caches are stored as named volumes in the Docker daemon with names that are derived from the full name of the target image.
380381
If the image name changes frequently, for example when the project version is used as a tag in the image name, then the caches can be invalidated frequently.
@@ -386,12 +387,15 @@ The cache volumes can be configured to use alternative names to give more contro
386387
include::../maven/packaging-oci-image/caches-pom.xml[tags=caches]
387388
----
388389

390+
391+
389392
[[build-image.examples.docker]]
390393
=== Docker Configuration
391394

395+
396+
392397
[[build-image.examples.docker.minikube]]
393398
==== Docker Configuration for minikube
394-
395399
The plugin can communicate with the https://minikube.sigs.k8s.io/docs/tasks/docker_daemon/[Docker daemon provided by minikube] instead of the default local connection.
396400

397401
On Linux and macOS, environment variables can be set using the command `eval $(minikube docker-env)` after minikube has been started.
@@ -403,9 +407,10 @@ The plugin can also be configured to use the minikube daemon by providing connec
403407
include::../maven/packaging-oci-image/docker-minikube-pom.xml[tags=docker-minikube]
404408
----
405409

410+
411+
406412
[[build-image.examples.docker.podman]]
407413
==== Docker Configuration for podman
408-
409414
The plugin can communicate with a https://podman.io/[podman container engine].
410415

411416
The plugin can be configured to use podman local connection by providing connection details similar to those shown in the following example:
@@ -417,9 +422,10 @@ include::../maven/packaging-oci-image/docker-podman-pom.xml[tags=docker-podman]
417422

418423
TIP: With the `colima` CLI installed, the command `podman info --format='{{.Host.RemoteSocket.Path}}'` can be used to get the value for the `docker.host` configuration property shown in this example.
419424

425+
426+
420427
[[build-image.examples.docker.colima]]
421428
==== Docker Configuration for Colima
422-
423429
The plugin can communicate with the Docker daemon provided by https://github.com/abiosoft/colima[Colima].
424430
The `DOCKER_HOST` environment variable can be set by using the command `export DOCKER_HOST=$(docker context inspect colima -f '{{.Endpoints.docker.Host}}').`
425431

@@ -430,9 +436,10 @@ The plugin can also be configured to use Colima daemon by providing connection d
430436
include::../maven/packaging-oci-image/docker-colima-pom.xml[tags=docker-colima]
431437
----
432438

439+
440+
433441
[[build-image.examples.docker.auth]]
434442
==== Docker Configuration for Authentication
435-
436443
If the builder or run image are stored in a private Docker registry that supports user authentication, authentication details can be provided using `docker.builderRegistry` parameters as shown in the following example:
437444

438445
[source,xml,indent=0,subs="verbatim,attributes",tabsize=4]

0 commit comments

Comments
 (0)