+4
-3
readme.md
+4
-3
readme.md
···
20
20
21
21
<hr style="margin-bottom: 20px; margin-top: 10px" />
22
22
23
-
This can be done in a compose file as well by specifying it as an build
24
-
argument.
23
+
When using compose, it can be specified as a build argument which will be
24
+
passed to the builder.
25
25
26
26
```yaml
27
27
build:
···
29
29
args: { TAG: master }
30
30
```
31
31
32
-
Will tell docker to pass the `TAG` argument to the `Dockerfile` when building.
32
+
This will for example tell docker to build it using the `master` branch like
33
+
the command.
33
34
34
35
## Setting Up The Image
35
36