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

Commit bff05c3

Browse files
authored
Merge pull request #729 from zappy-shu/enable-buildkit-to-build-with-docker
Add note to enable BuildKit to build in docker
2 parents a850314 + bdbcf4d commit bff05c3

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)