Commit Graph

265 Commits (f10d8dab5e114568e0e35e7943c85f8dd660223e)
 

Author SHA1 Message Date
Patrick Van Stee f10d8dab5e Define variables as blocks with defaults
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
Patrick Van Stee 5185d534bc Include go-cty stdlib functions in HCL file scope
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
Patrick Van Stee a520de447e Provide current env as variables in eval context
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
Patrick Van Stee 4121ae50b5 Modify parsing functions and config structs to accept hcl changes
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
Patrick Van Stee 87c4bf1df9 Upgrade hcl to v2
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
Tibor Vass 09339bf500
Merge pull request #263 from tonistiigi/platforms-print
separate manual and automatically detected platforms
5 years ago
Tõnis Tiigi af9edb6ba4
Merge pull request #246 from cpuguy83/override_instance
Add option to build/bake to override instance
5 years ago
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>
5 years ago
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>
5 years ago
Tonis Tiigi 4804824c78 separate manual and automatically detected platforms
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
5 years ago
Tõnis Tiigi d89e3f3014
Merge pull request #249 from tonistiigi/prune
add prune and du commands
5 years ago
Tõnis Tiigi 9ab9b852c2
Merge pull request #165 from tiborvass/pertarget-nocache
bake: allow overriding no-cache and pull per target via --set
5 years ago
Tibor Vass 2a257a8252 bake: allow overriding no-cache and pull per target via --set
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Tõnis Tiigi 0e1f0e3c73
Merge pull request #164 from tiborvass/multitarget-set
bake: allow pattern matching for target names in --set
5 years ago
Tibor Vass 078b65905a bake: add test cases for pattern matching
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Tibor Vass 417f52e001 bake: add --load and --push shorthands for --set
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
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>
5 years ago
Tõnis Tiigi 721b63f3a0
Merge pull request #259 from tiborvass/fix-inherits-override
bake: fix override bug with inheritance
5 years ago
Tibor Vass 14e65ff3b4 bake: fix override+inheritance bug
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Tibor Vass 3282dae09b bake: add tests for override+inheritance bug
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Sebastiaan van Stijn 7b297eb895
Merge pull request #251 from philips/patch-1
README: add mkdir for .docker/cli-plugins
5 years ago
Brandon Philips bae6b1cec8
README: add mkdir for .docker/cli-plugins
this dir doesn't exist by default so add a mkdir
5 years ago
Tibor Vass f4ac640252
Merge pull request #250 from tonistiigi/buildkit-bump
vendor: update buildkit to v0.7.0
5 years ago
Tonis Tiigi 7c627da986 vendor: update buildkit to v0.7.0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
5 years ago
Tonis Tiigi d52f5db6ba commands: add du command
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
5 years ago
Tonis Tiigi 66672b4052 commands: add prune command
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
5 years ago
Tõnis Tiigi ed6be92de4
Merge pull request #245 from developer-guy/master
i added kubernetes driver information to drivers section
5 years ago
Batuhan Apaydın 2def02ea74 added kubernetes driver information 5 years ago
Tibor Vass 52b0ea328f
Merge pull request #233 from silvin-lubecki/go-1.13
bump to Go 1.13
5 years ago
Silvin Lubecki 960107d00f Bump golang to 1.13 in Dockerfiles
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
5 years ago
Silvin Lubecki 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>
5 years ago
Sebastiaan van Stijn 54549235da
Merge pull request #234 from thaJeztah/remove_fossa_scan
Remove FOSSA checks from Jenkins CI
5 years ago
Sebastiaan van Stijn 231f983600
Revert "Add FOSSA checks to Jenkins CI"
This reverts commit 5f4d4a87f7.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
5 years ago
Tõnis Tiigi 891d355679
Merge pull request #225 from cpuguy83/k8s_priority
Make k8s driver priority lower
5 years ago
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>
5 years ago
Tõnis Tiigi 08b5a52ccd
Merge pull request #219 from ArturKlauser/patch-1
Explain binfmt_misc requirements
5 years ago
Artur Klauser 14a28d7fc3
Update README.md 5 years ago
Tõnis Tiigi 5a79b401b0
Merge pull request #221 from cpuguy83/build_args_env
build: only use env for args if set
5 years ago
Brian Goff 5e4444823c build: only use env for args if set
When following this pattern:

  buildx build --arg FOO

Where we want to pull `FOO` from env, currently we always set `FOO`
regardless if the `FOO` env var is even set.

This change makes it so that `FOO` would only be set if it has been set
in the env (even if it is set to empty).

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
5 years ago
Artur Klauser 5ff7635447
Explain binfmt_misc requirements
Getting the QEMU interpreters to work transparently inside containers seems to be a bit of a sticking point, with major distributions still on kernels and/or binfmt-support package versions that don't support the fix_binary flag yet. Give the reader a little more guidance what to look out for.
5 years ago
Tõnis Tiigi 709ef36b4f
Merge pull request #207 from ulyssessouza/use-file-interface
Bump containerd/console to use console.File instead of os.File
5 years ago
ulyssessouza 7f0b59dc37 Remove replace for docker/docker and restore prefix on docker/cli
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
ulyssessouza 9e8c532e61 Bump docker/cli to 06f34ba50786ec67761745c818e87baecc2ba139
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
ulyssessouza f2be09f4e4 Bump microsoft/hcsshim to v0.8.7
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
ulyssessouza 3ff9abca3a Bump moby/buildkit
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
ulyssessouza 3d630c6f7f Replace usage of *os.File by console.File interface on printer
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
ulyssessouza 9f4f945d4f Bump docker/docker and containerd/console
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
5 years ago
Tõnis Tiigi a0490a8720
Merge pull request #204 from tiborvass/remove-fossa
Revert "ADDED .fossa file for fossa scans"
5 years ago
Tibor Vass aba962c12c Revert "ADDED .fossa file for fossa scans"
This reverts commit 6e1fd0eab6.
5 years ago
Tõnis Tiigi aa21e3c731
Merge pull request #200 from jingxiaolu/inspect_image
docker-container: check local image store if pulling image failed
5 years ago