Skip to content

Commit c8781f4

Browse files
committed
dockerfiles: Add missing VERSION parameter for building containers.
Signed-off-by: Joschka Seydell <[email protected]>
1 parent 6ec7813 commit c8781f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfiles/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Example showing how to build labgrid-client image:
2222

2323
.. code-block:: bash
2424
25-
$ docker build --target labgrid-client -t docker.io/labgrid/client -f dockerfiles/Dockerfile .
25+
$ docker build --build-arg VERSION="$(python -m setuptools_scm)" --target labgrid-client -t docker.io/labgrid/client -f dockerfiles/Dockerfile .
2626
2727
Using `BuildKit <https://docs.docker.com/develop/develop-images/build_enhancements/>`_
2828
is recommended to reduce build times.

0 commit comments

Comments
 (0)