Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit bdbcf4d

Browse files
committed
Add note to enable BuildKit to build in docker
Adds a note in the "Build using Docker" section of BUILDING.md to explain that BuildKit is required and how to enable it. Signed-off-by: Nick Adcock <[email protected]>
1 parent 8acd0a8 commit bdbcf4d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

BUILDING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,12 @@ Please refer to its documentation if you need to update a dependency.
6969
## Build using Docker
7070

7171
If you don't have Go installed but Docker is present, you can also use
72-
`docker.Makefile` to build `docker-app` and run tests. This
73-
`docker.Makefile` is used by our continuous integration too.
72+
`docker.Makefile` to build `docker-app` and run tests.
73+
74+
To use `docker.Makefile` you will need to enable BuildKit.
75+
This is done by setting the environment variable `DOCKER_BUILDKIT=1`
76+
77+
This `docker.Makefile` is used by our continuous integration too.
7478

7579
```sh
7680
make -f docker.Makefile # builds cross binaries build and tests

0 commit comments

Comments
 (0)