Browse code

Fixing formatting errors

Fixing issues on https://docs.docker.com/engine/reference/builder/#arg

Signed-off-by: John Mulhausen <john@docker.com>

John Mulhausen authored on 2017/01/21 06:23:29
Showing 1 changed files
... ...
@@ -1286,8 +1286,8 @@ to create the directory in the Dockerfile. For example:
1286 1286
     ARG <name>[=<default value>]
1287 1287
 
1288 1288
 The `ARG` instruction defines a variable that users can pass at build-time to
1289
-the builder with the `docker build` command using the `--build-arg
1290
-<varname>=<value>` flag. If a user specifies a build argument that was not
1289
+the builder with the `docker build` command using the `--build-arg <varname>=<value>`
1290
+flag. If a user specifies a build argument that was not
1291 1291
 defined in the Dockerfile, the build outputs a warning.
1292 1292
 
1293 1293
 ```
... ...
@@ -1375,7 +1375,7 @@ useful interactions between `ARG` and `ENV` instructions:
1375 1375
 ```
1376 1376
 
1377 1377
 Unlike an `ARG` instruction, `ENV` values are always persisted in the built
1378
-image. Consider a docker build without the --build-arg flag:
1378
+image. Consider a docker build without the `--build-arg` flag:
1379 1379
 
1380 1380
 ```
1381 1381
 $ docker build Dockerfile
... ...
@@ -1638,9 +1638,9 @@ The command invoked by docker will be:
1638 1638
 
1639 1639
     cmd /S /C powershell -command Execute-MyCmdlet -param1 "c:\foo.txt"
1640 1640
 
1641
- This is inefficient for two reasons. First, there is an un-necessary cmd.exe command
1642
- processor (aka shell) being invoked. Second, each `RUN` instruction in the *shell*
1643
- form requires an extra `powershell -command` prefixing the command.
1641
+This is inefficient for two reasons. First, there is an un-necessary cmd.exe command
1642
+processor (aka shell) being invoked. Second, each `RUN` instruction in the *shell*
1643
+form requires an extra `powershell -command` prefixing the command.
1644 1644
 
1645 1645
 To make this more efficient, one of two mechanisms can be employed. One is to
1646 1646
 use the JSON form of the RUN command such as: