Difference between revisions of "BuildKit"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
* [[Buildx (plugin)]]
 
* [[Buildx (plugin)]]
 
* [[LLB]]
 
* [[LLB]]
  export [[DOCKER_BUILDKIT]]=0
+
  export [[DOCKER_BUILDKIT]]=0 or export [[DOCKER_BUILDKIT]]=1
  export COMPOSE_DOCKER_CLI_BUILD=0
+
  export [[COMPOSE_DOCKER_CLI_BUILD]]=0
  
 
== See also ==
 
== See also ==

Revision as of 09:38, 19 January 2022

wikipedia:BuildKit is a concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit. BuildKit is designed to work well for building for multiple platforms and not only for the architecture and operating system that the user invoking the build happens to run.

Homepage: https://github.com/moby/buildkit

Binaries:

To enable using BuildKit:

DOCKER_BUILDKIT=1 docker build .

Related terms

export DOCKER_BUILDKIT=0 or export DOCKER_BUILDKIT=1
export COMPOSE_DOCKER_CLI_BUILD=0

See also

Advertising: