Tonis Tiigi
4c1621cccd
store snapshot of config files on create
...
Files can be reused when container needs to be booted again.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
CrazyMax
dd15969c93
build: add cgroup-parent support
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
25d2f73858
build: warning on deprecated flags
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
36a37a624e
refactor: flags lexical order
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
e150d7bdd8
add long description to root command
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
8e5595b7c7
build: add shm-size support
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
b89e2f35df
build: add ulimit support
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
9e62c9f074
Fix --driver flag usage markdown output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Tõnis Tiigi
0cea838344
Merge pull request #773 from tonistiigi/bake-push-fix
...
bake: fix using push override with output definition
3 years ago
Akihiro Suda
2b18a9b4a5
Merge pull request #761 from morlay/kubeconfig-enhance
...
util: support load Colon-separated KUBECONFIG
3 years ago
Tonis Tiigi
6fc906532b
bake: fix using push override with output definition
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Morlay
c83812144c
util: support load Colon-separated KUBECONFIG
...
Signed-off-by: Morlay <morlay.null@gmail.com>
3 years ago
Tõnis Tiigi
b05c313204
Merge pull request #740 from bossmc/support-quiet
...
Implement `--quiet` support
3 years ago
CrazyMax
8a12884814
Fix flags usage markdown output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
55a3ce606f
Built-in variable `BAKE_LOCAL_PLATFORM`
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
Andy Caldwell
ef3e46fd62
Move printing to stdout up to the command itself
...
Signed-off-by: Andy Caldwell <andrew.caldwell@metaswitch.com>
3 years ago
Andy Caldwell
c19c018a4c
Implement `--quiet` support
...
Signed-off-by: Andy Caldwell <andrew.caldwell@metaswitch.com>
3 years ago
Tonis Tiigi
422ba60b04
use long-running context for client initialization
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
3 years ago
Tõnis Tiigi
04bac63745
Merge pull request #692 from crazy-max/boostrap-cmd
...
Allow booting builder after creation
3 years ago
CrazyMax
c685e46609
bake: print default group
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
5d50bd7b43
Allow booting builder after creation
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax
3d1ab82dc6
Duplicated progress env var
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Tõnis Tiigi
65a6955db8
Merge pull request #672 from crazy-max/keep-buildkit-state
...
Keep BuildKit state in a volume
4 years ago
CrazyMax
258d12b2e7
Keep BuildKit state in a volume
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Tonis Tiigi
1bb425a882
bake: allow BAKE_CMD_CONTEXT builtin var
...
Allows accessing the main context for bake command from bake
file that has been imported remotely.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Tonis Tiigi
9d88450118
enable opentelemetry support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
CrazyMax
1253020b3d
Add metadata-file flag
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Tõnis Tiigi
908a856079
Merge pull request #590 from AkihiroSuda/split-flagparser
...
build: split buildflags package
4 years ago
Akihiro Suda
399df854ea
build: split buildflags package
...
Planned to be imported by nerdctl in future.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
4 years ago
Tonis Tiigi
328441cdc6
imagetools: fix merging JSON descriptor with old one
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Alex Couture-Beil
eec843a325
include default ssh socket when given an ssh-based git url
...
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
4 years ago
Sebastiaan van Stijn
44ddc5a02b
remove trailing whitespace in command descriptions
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
4 years ago
Tonis Tiigi
4047bccf6c
docs: add external docs links support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Sebastiaan van Stijn
e1bbb9d8de
imagetools inspect: don't discard errors from PrintManifestList
...
Looks like this function may return an error, which we currently discard.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
4 years ago
Tonis Tiigi
dba79ba223
update lint to go1.16/golangci
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
CrazyMax
d05504c50f
Allow to set default progress through env var
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Tõnis Tiigi
da8c8ccaf5
Merge pull request #497 from morlay/k8s-driver-configuration-bind
...
feat: store kube config file to make buildx builder switchable
4 years ago
Wang
68cebffe13
feat: store kube config file to make buildx builder switchable
...
Signed-off-by: Wang <morlay.null@gmail.com>
4 years ago
Wang Jinglei
dd13e16bc7
should list real pod nodes when all drivers are kubernetes
...
Signed-off-by: Wang <morlay.null@gmail.com>
4 years ago
Tibor Vass
381dc8fb43
driver: do not insert "platform" as driver-opt
...
Addresses https://github.com/docker/setup-buildx-action/issues/45
Simple repro:
```
$ buildx create --platform linux/amd64 --use
$ buildx build - <<EOF
from scratch
EOF
```
Since https://github.com/docker/buildx/pull/370 a `platform` driver-opt was automatically inserted with the value specified by `--platform` flag on regardless of the type of driver, even though it was only used in the kubernetes driver. However, because the docker-container driver is pedantic about the options being passed, it errored out.
Another side-effect I suspect is that with the kubernetes driver it was now possible to specify the platforms in two different ways: `--driver-opt platform=...` and `--platform`.
This patch reverts completely the `platform` driver-opt and instead ensures the platforms information is passed onto the kubernetes driver via variables.
Signed-off-by: Tibor Vass <tibor@docker.com>
4 years ago
Tonis Tiigi
cffcd57edb
bake: support for remote files
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Tonis Tiigi
1496ac9b55
util: simplify progress syncronization
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Wang
d827f42d38
fix: buildx in k8s pod with kube client config in cluster
...
Signed-off-by: Wang <morlay.null@gmail.com>
4 years ago
Tõnis Tiigi
517df133e3
Merge pull request #403 from jygastaud/master
...
fixes #401 : Replace error generated by `quiet` option by a warning.
4 years ago
Tonis Tiigi
378bf70d4b
refactor driver auth for easier passing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Tõnis Tiigi
1ccf0bd7d8
Merge pull request #433 from tonistiigi/buildkit-pull-creds
...
docker-container: ensure credentials are passed when pulling buildkit
4 years ago
Tonis Tiigi
ea19cf9d8d
inspect: make sure to show boot error from driver
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Tonis Tiigi
3b69482a2f
docker-container: ensure credentials are passed when pulling buildkit image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Tonis Tiigi
4f7517115c
allow builder flag to switch to default instance
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Sebastiaan van Stijn
39f1d99dcc
Remove "version" annotations from du and prune commands
...
These annotations were picked up by the YAML docs generator, and shows up as
"minimum API version". I couldn't find a reference to these annotations in the
PR that added them, so thought it would be ok to remove
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
4 years ago