Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						fd6de6b6ae 
					 
					
						
						
							
							Merge pull request  #281  from tonistiigi/load-fix  
						
						... 
						
						
						
						build: improve error checking on load 
						
						
							
						
					 
					
						2020-07-07 09:06:34 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						f3111bcbef 
					 
					
						
						
							
							Merge pull request  #312  from donhui/master  
						
						... 
						
						
						
						README.md: update the content which not display in markdown 
						
						
							
						
					 
					
						2020-06-20 17:41:31 -07:00 
						 
				 
			
				
					
						
							
							
								Donghui Wang 
							
						 
					 
					
						
						
							
						
						e6be472831 
					 
					
						
						
							
							update the content which not display in markdown  
						
						... 
						
						
						
						Signed-off-by: Donghui Wang <977675308@qq.com > 
						
						
							
						
					 
					
						2020-06-19 17:30:49 +08:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						e5217f26e2 
					 
					
						
						
							
							Merge pull request  #296  from tonistiigi/seed-fix  
						
						... 
						
						
						
						cmd: seed math rand 
						
						
							
						
					 
					
						2020-05-18 12:03:57 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						7f7acf7837 
					 
					
						
						
							
							cmd: seed math rand  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-05-17 16:21:11 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						baae4b2e71 
					 
					
						
						
							
							build: improve error checking on load  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-05-08 17:46:28 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						42448c5f37 
					 
					
						
						
							
							Merge pull request  #280  from vanstee/hcl-json-support  
						
						... 
						
						
						
						Support parsing json config with hcl v2 
						
						
							
						
					 
					
						2020-05-08 09:25:25 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						fc7875675c 
					 
					
						
						
							
							Merge pull request  #277  from cpuguy83/moar_hcl_stdlib_funcs  
						
						... 
						
						
						
						Update go-cty to pull in more stdlib funcs. 
						
						
							
						
					 
					
						2020-05-08 09:23:47 -07:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						355261e49e 
					 
					
						
						
							
							Parse bake config as hcl falling back to json  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-05-07 23:53:49 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						44c840b31d 
					 
					
						
						
							
							Add test of parsing a json bake config  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-05-07 23:53:49 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						1bc068a583 
					 
					
						
						
							
							Fix json keys for groups and targets  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-05-07 23:53:49 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						340686a383 
					 
					
						
						
							
							Support parsing json config with hcl v2  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-05-07 23:53:49 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Goff 
							
						 
					 
					
						
						
							
						
						1ad87c6ba6 
					 
					
						
						
							
							Update go-cty to pull in more stdlib funcs.  
						
						... 
						
						
						
						I needed "split" specifically so I can do something like:
```hcl
variable PLATFORMS {
  default = "linux/amd64"
}
target foo {
  platforms = split(",", "${PLATFORMS}")
  # other stuff
}
```
Where the existing "csvdecode" does not work for this because it parses
the string into a list of objects instead of a list of strings.
I went ahead and just added all the available new functions.
Signed-off-by: Brian Goff <cpuguy83@gmail.com > 
						
						
							
						
					 
					
						2020-05-07 16:05:17 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						eadf5eddbc 
					 
					
						
						
							
							Merge pull request  #270  from thaJeztah/prune_force_shorthand  
						
						... 
						
						
						
						Add -f shorthand flag for prune --force 
						
						
							
						
					 
					
						2020-05-07 11:41:32 -07:00 
						 
				 
			
				
					
						
							
							
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						f4f58003fb 
					 
					
						
						
							
							Add -f shorthand flag for prune --force  
						
						... 
						
						
						
						The docker builder prune command has a shorthand `-f` flag for `--force`:
    docker builder prune --help
    Usage:	docker builder prune
    Remove build cache
    Options:
      -a, --all                  Remove all unused build cache, not just dangling ones
          --filter filter        Provide filter values (e.g. 'until=24h')
      -f, --force                Do not prompt for confirmation
          --keep-storage bytes   Amount of disk space to keep for cache
Given that `buildx` can be used as a drop-in replacement for the native build
commands, it should match the UI, and also have a shorthand flag.
This patch also updates the flag's description to be in line with the docker commandline
With this patch applied;
    buildx prune --help
    Remove build cache
    Usage:
      buildx prune [flags]
    Flags:
      -a, --all                  Remove all unused images, not just dangling ones
          --filter filter        Provide filter values (e.g. 'until=24h')
      -f, --force                Do not prompt for confirmation
      -h, --help                 help for prune
          --keep-storage bytes   Amount of disk space to keep for cache
          --verbose              Provide a more verbose output
    Global Flags:
          --builder string   Override the configured builder instance
Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
						
						
							
						
					 
					
						2020-05-02 21:29:23 +02:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						bda4882a65 
					 
					
						
						
							
							Merge pull request  #268  from tiborvass/fix-tristate  
						
						... 
						
						
						
						Fix --pull and --no-cache behavior 
						
						
							
 
						
					 
					
						2020-04-30 15:08:21 -07:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						77ddee9314 
					 
					
						
						
							
							bake: fix pull and no-cache overrides  
						
						... 
						
						
						
						Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-30 14:05:21 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						c9676c79d1 
					 
					
						
						
							
							bake: fix hcl tags  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-04-30 13:41:49 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						18095ee87b 
					 
					
						
						
							
							bake: reset no-cache and pull if not set  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-04-30 13:01:45 -07:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						c4d07f67e3 
					 
					
						
						
							
							commands: check if flag is set instead of using flagutil.Tristate  
						
						... 
						
						
						
						Fixes --pull and --no-cache without argument
Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-30 12:25:41 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						205165bec5 
					 
					
						
						
							
							Merge pull request  #192  from vanstee/hcl2-with-interpolation  
						
						... 
						
						
						
						Upgrade to hcl2 to support variables and functions 
						
						
							
 
						
					 
					
						2020-04-29 10:55:53 -07:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						870b38837b 
					 
					
						
						
							
							Allow for user defined functions  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:52:48 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						10d4b7a878 
					 
					
						
						
							
							Add example of interpolation to the README  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:52:20 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						abed97cf33 
					 
					
						
						
							
							Include test cases of different hcl files  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:51:26 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						f10d8dab5e 
					 
					
						
						
							
							Define variables as blocks with defaults  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:51:26 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						5185d534bc 
					 
					
						
						
							
							Include go-cty stdlib functions in HCL file scope  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:51:26 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						a520de447e 
					 
					
						
						
							
							Provide current env as variables in eval context  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:51:26 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						4121ae50b5 
					 
					
						
						
							
							Modify parsing functions and config structs to accept hcl changes  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-29 08:51:26 -04:00 
						 
				 
			
				
					
						
							
							
								Patrick Van Stee 
							
						 
					 
					
						
						
							
						
						87c4bf1df9 
					 
					
						
						
							
							Upgrade hcl to v2  
						
						... 
						
						
						
						Signed-off-by: Patrick Van Stee <patrick@vanstee.me > 
						
						
							
						
					 
					
						2020-04-28 22:07:52 -04:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						09339bf500 
					 
					
						
						
							
							Merge pull request  #263  from tonistiigi/platforms-print  
						
						... 
						
						
						
						separate manual and automatically detected platforms 
						
						
							
						
					 
					
						2020-04-28 17:46:09 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						af9edb6ba4 
					 
					
						
						
							
							Merge pull request  #246  from cpuguy83/override_instance  
						
						... 
						
						
						
						Add option to build/bake to override instance 
						
						
							
						
					 
					
						2020-04-28 17:38:38 -07:00 
						 
				 
			
				
					
						
							
							
								Brian Goff 
							
						 
					 
					
						
						
							
						
						b2ec1d331c 
					 
					
						
						
							
							Add builder as a global flag.  
						
						... 
						
						
						
						This allows all subcommands to use this flag.
Additionally reads the default value for the flag from the
`BUILDX_BUILDER` env var.
Precedence is:
CLI ARG > flag > env var > config file
Signed-off-by: Brian Goff <cpuguy83@gmail.com > 
						
						
							
						
					 
					
						2020-04-27 14:37:17 -07:00 
						 
				 
			
				
					
						
							
							
								Brian Goff 
							
						 
					 
					
						
						
							
						
						213d3af3b0 
					 
					
						
						
							
							Add option to build/bake to override instance  
						
						... 
						
						
						
						This helps prevent race conditions with concurrent build invocations.
Signed-off-by: Brian Goff <cpuguy83@gmail.com > 
						
						
							
						
					 
					
						2020-04-27 11:12:31 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						4804824c78 
					 
					
						
						
							
							separate manual and automatically detected platforms  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-04-24 20:08:43 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						d89e3f3014 
					 
					
						
						
							
							Merge pull request  #249  from tonistiigi/prune  
						
						... 
						
						
						
						add prune and du commands 
						
						
							
						
					 
					
						2020-04-23 12:17:49 -07:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						9ab9b852c2 
					 
					
						
						
							
							Merge pull request  #165  from tiborvass/pertarget-nocache  
						
						... 
						
						
						
						bake: allow overriding no-cache and pull per target via --set 
						
						
							
						
					 
					
						2020-04-23 12:17:30 -07:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						2a257a8252 
					 
					
						
						
							
							bake: allow overriding no-cache and pull per target via --set  
						
						... 
						
						
						
						Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-23 18:11:22 +00:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						0e1f0e3c73 
					 
					
						
						
							
							Merge pull request  #164  from tiborvass/multitarget-set  
						
						... 
						
						
						
						bake: allow pattern matching for target names in --set 
						
						
							
						
					 
					
						2020-04-23 09:23:12 -07:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						078b65905a 
					 
					
						
						
							
							bake: add test cases for pattern matching  
						
						... 
						
						
						
						Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-23 05:54:11 +00:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						417f52e001 
					 
					
						
						
							
							bake: add --load and --push shorthands for --set  
						
						... 
						
						
						
						Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-23 05:54:11 +00:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						2bca8fa677 
					 
					
						
						
							
							bake: allow pattern matching for target names in --set  
						
						... 
						
						
						
						Although bake is for running multiple targets, --set required a single
target name for overriding a property. This change allows matching
multiple targets for overrides.
Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-23 05:54:11 +00:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						721b63f3a0 
					 
					
						
						
							
							Merge pull request  #259  from tiborvass/fix-inherits-override  
						
						... 
						
						
						
						bake: fix override bug with inheritance 
						
						
							
						
					 
					
						2020-04-22 22:24:12 -07:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						14e65ff3b4 
					 
					
						
						
							
							bake: fix override+inheritance bug  
						
						... 
						
						
						
						Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-21 22:42:03 +00:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						3282dae09b 
					 
					
						
						
							
							bake: add tests for override+inheritance bug  
						
						... 
						
						
						
						Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-04-21 22:38:06 +00:00 
						 
				 
			
				
					
						
							
							
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						7b297eb895 
					 
					
						
						
							
							Merge pull request  #251  from philips/patch-1  
						
						... 
						
						
						
						README: add mkdir for .docker/cli-plugins 
						
						
							
						
					 
					
						2020-04-14 18:06:04 +02:00 
						 
				 
			
				
					
						
							
							
								Brandon Philips 
							
						 
					 
					
						
						
							
						
						bae6b1cec8 
					 
					
						
						
							
							README: add mkdir for .docker/cli-plugins  
						
						... 
						
						
						
						this dir doesn't exist by default so add a mkdir 
						
						
							
						
					 
					
						2020-04-11 08:54:09 -07:00 
						 
				 
			
				
					
						
							
							
								Tibor Vass 
							
						 
					 
					
						
						
							
						
						f4ac640252 
					 
					
						
						
							
							Merge pull request  #250  from tonistiigi/buildkit-bump  
						
						... 
						
						
						
						vendor: update buildkit to v0.7.0 
						
						
							
						
					 
					
						2020-04-10 13:43:09 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						7c627da986 
					 
					
						
						
							
							vendor: update buildkit to v0.7.0  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-04-09 22:37:06 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						d52f5db6ba 
					 
					
						
						
							
							commands: add du command  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-04-06 19:32:21 -07:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						66672b4052 
					 
					
						
						
							
							commands: add prune command  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-04-06 18:03:30 -07:00