From a5c741eacf71a0ded2fdb586ae8bfad4ca45b1f1 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 7 Dec 2020 12:24:44 +0100 Subject: [PATCH] docs: un-wrap line to prevent YAML docs from using "compact" formatting Looks like the YAML conversion doesn't like lines starting with `[`, and causing it to use the "compact" formatting in the generated YAML. This patch un-wraps these lines to prevent this. Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 3455643194e496ebe03c3dcaaf2ea4085961aec7) Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/build.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/reference/commandline/build.md b/docs/reference/commandline/build.md index 49f4f2c3e0..c2d7c01d63 100644 --- a/docs/reference/commandline/build.md +++ b/docs/reference/commandline/build.md @@ -402,14 +402,12 @@ the command line. ### Use a custom parent cgroup (--cgroup-parent) When `docker build` is run with the `--cgroup-parent` option the containers -used in the build will be run with the -[corresponding `docker run` flag](../run.md#specify-custom-cgroups). +used in the build will be run with the [corresponding `docker run` flag](../run.md#specify-custom-cgroups). ### Set ulimits in container (--ulimit) Using the `--ulimit` option with `docker build` will cause each build step's -container to be started using those -[`--ulimit` flag values](run.md#set-ulimits-in-container---ulimit). +container to be started using those [`--ulimit` flag values](run.md#set-ulimits-in-container---ulimit). ### Set build-time variables (--build-arg)