Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f68f42cb11 
					 
					
						
						
							
							build: add push support to docker driver  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-12-08 13:54:41 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						232af9aa0d 
					 
					
						
						
							
							move moby check to driver interface  
						
						 
						
						... 
						
						
						
						Driver caching masked the method detection
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-12-07 22:02:51 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						1496ac9b55 
					 
					
						
						
							
							util: simplify progress syncronization  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-12-07 22:02:51 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						290e25917c 
					 
					
						
						
							
							build: allow dockerfile from URL  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-12-07 22:02:51 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						35a60b8e04 
					 
					
						
						
							
							Merge pull request  #441  from tonistiigi/buildkit-pull-creds2  
						
						 
						
						... 
						
						
						
						refactor driver auth for easier passing 
						
						
					 
					
						2020-12-05 00:02:38 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Haines 
							
						 
					 
					
						
						
							
						
						37020dc8da 
					 
					
						
						
							
							Disable user namespace remapping in docker-container driver  
						
						 
						
						... 
						
						
						
						Signed-off-by: Andrew Haines <andrew.haines@zencargo.com > 
						
						
					 
					
						2020-12-03 10:50:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						378bf70d4b 
					 
					
						
						
							
							refactor driver auth for easier passing  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-11-15 20:49:58 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						3b69482a2f 
					 
					
						
						
							
							docker-container: ensure credentials are passed when pulling buildkit image  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-11-04 13:04:04 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						fa51b90094 
					 
					
						
						
							
							vendor: fix docker/docker vendoring (update to 9f28837c1d93  
						
						 
						
						... 
						
						
						
						commit c41b006be1  updated the version of
docker/docker in go.mod, but possibly overlooked that there was still a
replace rule present. As a result the version was not actually updated.
This patch removes the replace rule, updating docker/docker to 9f28837c1d93
full diff: 4634ce647c...9f28837c1d 
Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
						
						
					 
					
						2020-10-31 13:50:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						c41b006be1 
					 
					
						
						
							
							vendor: update buildkit to 2943a0838  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-09-19 22:49:12 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						2d720a1e0b 
					 
					
						
						
							
							vendor: update buildkit with typed errors support  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-09-13 21:28:20 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wang Jinglei 
							
						 
					 
					
						
						
							
						
						a7c704c39d 
					 
					
						
						
							
							feat: enhance kubernetes driver  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wang Jinglei <morlay.null@gmail.com > 
						
						
					 
					
						2020-08-31 09:20:49 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wang Jinglei 
							
						 
					 
					
						
						
							
						
						844b901005 
					 
					
						
						
							
							feat: use k8s cluster config when buildx used in k8s cluster  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wang Jinglei <morlay.null@gmail.com > 
						
						
					 
					
						2020-08-28 17:51:18 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						26570d05c1 
					 
					
						
						
							
							docker-container: increase bootstrap timeout  
						
						 
						
						... 
						
						
						
						Previous value was only 2 sec
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-07-26 00:11:33 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						8627f668f2 
					 
					
						
						
							
							docker-container: show logs on bootstrap error  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-07-26 00:11:27 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Goff 
							
						 
					 
					
						
						
							
						
						87fbc406f5 
					 
					
						
						
							
							Make k8s driver priority lower  
						
						 
						
						... 
						
						
						
						Otherwise it ends up being default and it's probably not the normal
case.
Signed-off-by: Brian Goff <cpuguy83@gmail.com > 
						
						
					 
					
						2020-02-12 16:26:53 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								l00397676 
							
						 
					 
					
						
						
							
						
						5b9d88b3ad 
					 
					
						
						
							
							docker-container: check local image store if pulling image failed  
						
						 
						
						... 
						
						
						
						When booting `docker-container` driver, it will pull and run image
`moby/buildkit:buildx-stable-1`.
If current node cannot connect to dockerhub, driver `docker-container`
will always booting failure.
But user may already load the image manually or pull it from a priviate
registry.
Buildx should check local docker image store after pull failed.
Fixes : #199  issuecomment-561996661
Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com > 
						
						
					 
					
						2019-12-09 09:29:56 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						c6f8de90aa 
					 
					
						
						
							
							kubernetes: show Kubernetes Pods as buildx "Nodes" in docker buildx inspect  
						
						 
						
						... 
						
						
						
						Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp > 
						
						
					 
					
						2019-11-21 10:30:39 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						6b65b0c982 
					 
					
						
						
							
							new driver: kubernetes  
						
						 
						
						... 
						
						
						
						Tested with `kind` and GKE.
Note: "nodes" shown in `docker buildx ls` are unrelated to Kubernetes "nodes".
Probably buildx should come up with an alternative term.
Usage:
  $ kind create cluster
  $ export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
  $ docker buildx create --driver kubernetes --driver-opt replicas=3 --use
  $ docker buildx build -t foo --load .
`--load` loads the image into the local Docker.
Driver opts:
  - `image=IMAGE` - Sets the container image to be used for running buildkit.
  - `namespace=NS` - Sets the Kubernetes namespace. Defaults to the current namespace.
  - `replicas=N` - Sets the number of `Pod` replicas. Defaults to 1.
  - `rootless=(true|false)` - Run the container as a non-root user without `securityContext.privileged`. Defaults to false.
  - `loadbalance=(sticky|random)` - Load-balancing strategy. If set to "sticky", the pod is chosen using the hash of the context path. Defaults to "sticky"
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp > 
						
						
					 
					
						2019-11-21 10:30:39 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sune Keller 
							
						 
					 
					
						
						
							
						
						fd44accc79 
					 
					
						
						
							
							Support environment variables in docker-container driver  
						
						 
						
						... 
						
						
						
						Fixes  #169 
Signed-off-by: Sune Keller <absukl@almbrand.dk > 
						
						
					 
					
						2019-10-28 21:56:14 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						afd821010d 
					 
					
						
						
							
							docker-container: allow setting custom buildkit image  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-07-31 22:46:37 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						bcc882cbf1 
					 
					
						
						
							
							docker-container: allow using host network  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-07-31 17:42:49 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						75b80c277f 
					 
					
						
						
							
							driver: allow setting driver opts  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-07-31 17:25:25 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						8ed8795268 
					 
					
						
						
							
							driver: allow setting buildkit config file  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Co-Authored-By: Tibor Vass <tiborvass@users.noreply.github.com > 
						
						
					 
					
						2019-07-31 15:08:26 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f0af89a204 
					 
					
						
						
							
							driver: allow configuring buildkitd flags  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-07-08 15:29:43 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						eee78c6c10 
					 
					
						
						
							
							Put driver names to create --help  
						
						 
						
						... 
						
						
						
						Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp > 
						
						
					 
					
						2019-06-02 00:02:20 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						94a0422a1b 
					 
					
						
						
							
							rename to docker/buildx  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-24 20:02:20 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						e7eac2b909 
					 
					
						
						
							
							build: use long running context for client  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-24 09:06:14 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						5ddd3d2459 
					 
					
						
						
							
							driver: remove unused version  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-23 21:18:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						cac37434aa 
					 
					
						
						
							
							build: add docker output for non-moby drivers  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-17 07:45:43 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						b7e15f3113 
					 
					
						
						
							
							commands: implementation for inspect  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-15 15:31:29 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						bd3d5cd19e 
					 
					
						
						
							
							commands: add implementations for create, use, rm, stop  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-15 15:31:29 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0788035da8 
					 
					
						
						
							
							driver: add feature testing  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-10 19:09:42 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						68cad8e46b 
					 
					
						
						
							
							driver: add docker driver  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-10 18:58:19 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						6469b05e33 
					 
					
						
						
							
							driver: rename docker to docker-container  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-10 18:58:19 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						15dae19cf8 
					 
					
						
						
							
							driver: add client method  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-03-26 11:37:07 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						a6d893efca 
					 
					
						
						
							
							driver: add logging support to bootstrap  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-03-26 11:36:16 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f302881c0d 
					 
					
						
						
							
							driver: start implemeting bootstrap for docker  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-03-25 19:02:20 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						49f67b7e96 
					 
					
						
						
							
							driver: docker driver base  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-03-25 19:02:20 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						8438557ff7 
					 
					
						
						
							
							driver: basic types startpoint  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-03-25 19:02:20 -07:00