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