From ef883bb22a860e85f43dc71842bf7d3912495ca6 Mon Sep 17 00:00:00 2001 From: Arko Dasgupta Date: Mon, 8 Jun 2020 15:26:28 -0700 Subject: [PATCH] Introduce Buildkit to AutoBuilds Add a section on explaining how to enable builds to use the Docker Buildkit builder by the Autobuild service --- docker-hub/builds/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-hub/builds/index.md b/docker-hub/builds/index.md index ef68346c505..5407422d301 100644 --- a/docker-hub/builds/index.md +++ b/docker-hub/builds/index.md @@ -277,6 +277,11 @@ You could also use capture groups to build and label images that come from vario `/(alice|bob)-v([0-9.]+)/` --> +### Build image with Buildkit + +You can enable the Buildkit builder by setting the environment variable `DOCKER_BUILDKIT=1`([enviroment variables](index.md#environment-variables-for-builds)) in the Configure automated build section ([configure builds](index.md#configure-automated-build-settings)). +For more information on Buildkit please see [buildkit](https://docs.docker.com/develop/develop-images/build_enhancements/). + ## Build repositories with linked private submodules Docker Hub sets up a deploy key in your source code repository that allows it