42448c5f37 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #280  from vanstee/hcl-json-support  
							
							... 
							
							
							
							Support parsing json config with hcl v2 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fc7875675c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #277  from cpuguy83/moar_hcl_stdlib_funcs  
							
							... 
							
							
							
							Update go-cty to pull in more stdlib funcs. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								355261e49e 
								
									
								
							
								 
							
						 
						
							
							
								
								Parse bake config as hcl falling back to json  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								44c840b31d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add test of parsing a json bake config  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1bc068a583 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix json keys for groups and targets  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								340686a383 
								
									
								
							
								 
							
						 
						
							
							
								
								Support parsing json config with hcl v2  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								eadf5eddbc 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #270  from thaJeztah/prune_force_shorthand  
							
							... 
							
							
							
							Add -f shorthand flag for prune --force 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								bda4882a65 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #268  from tiborvass/fix-tristate  
							
							... 
							
							
							
							Fix --pull and --no-cache behavior 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								77ddee9314 
								
							
								 
							
						 
						
							
							
								
								bake: fix pull and no-cache overrides  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c9676c79d1 
								
							
								 
							
						 
						
							
							
								
								bake: fix hcl tags  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								18095ee87b 
								
							
								 
							
						 
						
							
							
								
								bake: reset no-cache and pull if not set  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								205165bec5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #192  from vanstee/hcl2-with-interpolation  
							
							... 
							
							
							
							Upgrade to hcl2 to support variables and functions 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								870b38837b 
								
							
								 
							
						 
						
							
							
								
								Allow for user defined functions  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								10d4b7a878 
								
							
								 
							
						 
						
							
							
								
								Add example of interpolation to the README  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								abed97cf33 
								
							
								 
							
						 
						
							
							
								
								Include test cases of different hcl files  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f10d8dab5e 
								
							
								 
							
						 
						
							
							
								
								Define variables as blocks with defaults  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								5185d534bc 
								
							
								 
							
						 
						
							
							
								
								Include go-cty stdlib functions in HCL file scope  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a520de447e 
								
							
								 
							
						 
						
							
							
								
								Provide current env as variables in eval context  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								4121ae50b5 
								
							
								 
							
						 
						
							
							
								
								Modify parsing functions and config structs to accept hcl changes  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								87c4bf1df9 
								
							
								 
							
						 
						
							
							
								
								Upgrade hcl to v2  
							
							... 
							
							
							
							Signed-off-by: Patrick Van Stee <patrick@vanstee.me> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								09339bf500 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #263  from tonistiigi/platforms-print  
							
							... 
							
							
							
							separate manual and automatically detected platforms 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								af9edb6ba4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #246  from cpuguy83/override_instance  
							
							... 
							
							
							
							Add option to build/bake to override instance 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								4804824c78 
								
							
								 
							
						 
						
							
							
								
								separate manual and automatically detected platforms  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d89e3f3014 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #249  from tonistiigi/prune  
							
							... 
							
							
							
							add prune and du commands 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								9ab9b852c2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #165  from tiborvass/pertarget-nocache  
							
							... 
							
							
							
							bake: allow overriding no-cache and pull per target via --set 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								2a257a8252 
								
							
								 
							
						 
						
							
							
								
								bake: allow overriding no-cache and pull per target via --set  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0e1f0e3c73 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #164  from tiborvass/multitarget-set  
							
							... 
							
							
							
							bake: allow pattern matching for target names in --set 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								078b65905a 
								
							
								 
							
						 
						
							
							
								
								bake: add test cases for pattern matching  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								417f52e001 
								
							
								 
							
						 
						
							
							
								
								bake: add --load and --push shorthands for --set  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								721b63f3a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #259  from tiborvass/fix-inherits-override  
							
							... 
							
							
							
							bake: fix override bug with inheritance 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								14e65ff3b4 
								
							
								 
							
						 
						
							
							
								
								bake: fix override+inheritance bug  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								3282dae09b 
								
							
								 
							
						 
						
							
							
								
								bake: add tests for override+inheritance bug  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7b297eb895 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #251  from philips/patch-1  
							
							... 
							
							
							
							README: add mkdir for .docker/cli-plugins 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								bae6b1cec8 
								
									
								
							
								 
							
						 
						
							
							
								
								README: add mkdir for .docker/cli-plugins  
							
							... 
							
							
							
							this dir doesn't exist by default so add a mkdir 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f4ac640252 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #250  from tonistiigi/buildkit-bump  
							
							... 
							
							
							
							vendor: update buildkit to v0.7.0 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7c627da986 
								
							
								 
							
						 
						
							
							
								
								vendor: update buildkit to v0.7.0  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d52f5db6ba 
								
							
								 
							
						 
						
							
							
								
								commands: add du command  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								66672b4052 
								
							
								 
							
						 
						
							
							
								
								commands: add prune command  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ed6be92de4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #245  from developer-guy/master  
							
							... 
							
							
							
							i added kubernetes driver information to drivers section 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								2def02ea74 
								
							
								 
							
						 
						
							
							
								
								added kubernetes driver information  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								52b0ea328f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #233  from silvin-lubecki/go-1.13  
							
							... 
							
							
							
							bump to Go 1.13 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								960107d00f 
								
							
								 
							
						 
						
							
							
								
								Bump golang to 1.13 in Dockerfiles  
							
							... 
							
							
							
							Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								bbc902b4d6 
								
							
								 
							
						 
						
							
							
								
								Bump buildkit to master and fix versions incompatible with go mod 1.13  
							
							... 
							
							
							
							Bump github.com/gogo/googleapis to v1.3.2
Bump github.com/docker/cli to master
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								54549235da 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #234  from thaJeztah/remove_fossa_scan  
							
							... 
							
							
							
							Remove FOSSA checks from Jenkins CI 
							
						 
						
							6 years ago