6bbe59697a
docs: link to build ref page for --call and --check ref with bake
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-07-03 20:19:56 +02:00
c51004e2e4
Merge pull request #2556 from tonistiigi/bake-call
...
bake: add call methods support and printing
2024-07-03 10:40:32 -07:00
153e5ed274
mark list-targets and list-variables as hidden and experimental
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-07-03 09:54:09 -07:00
35313e865f
bake: add tests for call and list
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-07-03 09:54:03 -07:00
5ec703ba10
docs: reference description for --call and --check
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-07-03 18:34:51 +02:00
263a9ddaee
chore: regenerate docs
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-07-03 11:48:11 +02:00
19d838a3f4
docs: make buildx build the canonical doc
...
Move descriptions of flags common with the legacy build client to the buildx
build reference doc.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-07-02 15:54:10 +02:00
f7bcafed21
build: opt to set progress warnings in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-06-26 06:53:35 +02:00
fb6a3178c9
docs: link to exporter descriptions from reference docs
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-06-17 17:51:10 +02:00
1e3aec1ae2
docs: mention rawjson progress output mode
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-06-06 16:51:42 +02:00
ef4a165e48
commands: add an alias for --check to be the same as --call=check
...
This adds an alias for `--check` that causes it to behave the same as
`--call=check`. This is done using `BoolFunc` to call a function when
the option is seen and to set it to the correct value. This should allow
command line flags like `--check --call=targets` to work correctly (even
though they conflict) by making it so the first invocation sets the
print function to `check` and the second overwrites the first. This is
the expected behavior for these types of boolean flags.
`BoolFunc` itself is part of the standard library flags package, but
never seems to have made it into pflag possibly because it was added in
go 1.21.
https://pkg.go.dev/flag#FlagSet.BoolFunc
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2024-06-03 13:25:21 -05:00
89810dc998
build: set default call method name to build
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-06-03 10:42:35 -07:00
250cd44d70
Adds a --call flag as an alias to the --print flag and hides the later.
...
Signed-off-by: Talon Bowler <talon.bowler@docker.com >
2024-06-03 10:30:30 -07:00
7bfae2b809
Updated the docs.
...
Signed-off-by: Tim Smith <tismith@rvohealth.com >
2024-05-29 22:54:09 -04:00
7e0ab1a003
docs: remove stub files and update links
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-04-23 13:39:56 +02:00
2e2f9f571f
build: set record provenance in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-04-11 10:11:27 +02:00
e7f2da9c4f
Merge pull request #2385 from davix/patch-1
...
Fix typo in buildx_build.md
2024-04-09 09:14:30 +02:00
d805c784f2
Merge pull request #2378 from dvdksn/docs-crossref-secrets
...
docs: add cross-reference about build secrets
2024-04-09 08:52:42 +02:00
a2866b79e3
Fix typo in buildx_build.md
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-04-09 08:49:25 +02:00
dc4b4c36bd
bake: load override
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-04-05 13:03:15 +02:00
e18a2f6e58
docs: add cross-reference about build secrets
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-04-03 10:37:17 +02:00
1cc5e39cb8
docs: fix link to new target in dockerfile reference
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-03-07 10:07:43 +01:00
fcbe2803c8
build: allow multiple exports if supported by buildkit
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-02-28 13:16:15 -08:00
2edb7a04a9
build: set build ref in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-23 23:01:41 +01:00
69bd408964
docs(driver): set buildkitd network mode
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 23:07:50 +01:00
56fc68eb7e
driver: make buildkitd "config" and "flags" names consistent
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-22 10:26:18 +01:00
73d8969158
docs: more context around shm-size and ulimit usage
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-02-20 11:29:13 +01:00
cdfc35d0b6
docs: update external link paths
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-02-20 08:55:41 +01:00
760244ee3e
Add dial-stdio command
...
This allows the buildx CLI to act a proxy to the configured instance.
It allows external code to use buildx itself as a driver for connecting
to buildkitd instances.
Instance and node selection should follow the same semantics as as
`buildx build`, including taking into account the `BUILDX_BUILDER` env
var and the `--builder` global flag.
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2024-02-08 22:16:00 +00:00
68c3ac4f66
docs: update link to docker build
reference
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-01-19 15:28:37 +01:00
02c2073feb
Mark experimental flags in --help
...
Prior to this commit, experimental flags were not distinguishable from
regular flags in `--help`
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-01-13 19:53:56 +09:00
24e043e375
rm: support removing multiple builders at once
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-01-08 01:02:03 +01:00
ebae070f7e
docs: add --no-cache-filter example
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-20 08:58:52 +01:00
d762c76a68
docs: build --annotation
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 21:16:08 +01:00
1091707bd5
docs: add lang tag for plaintext code blocks
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 20:35:08 +01:00
a4c392f4db
docs: imagetools create --annotation
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 20:35:08 +01:00
cec4496d3b
Merge pull request #1787 from crazy-max/ls-format
...
ls: format opt
2023-11-23 06:00:17 -08:00
20c947990c
ls: format opt
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-11-22 21:11:24 +01:00
5bf02d9f7b
docs: add buildx du verbose example
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-21 15:55:50 +01:00
940e0a4a3c
docs: update du cmd description
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-17 11:02:20 +01:00
7a724ac445
docs: minor cli reference editorial updates
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-16 16:05:38 +01:00
707ae87060
docs: fix imagetools inspect json format
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-11-16 14:50:56 +01:00
198764f116
debug: update docs
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2023-10-13 12:09:36 +09:00
508b2ef0c6
debug: Add buildx debug
command
...
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com >
2023-10-13 12:09:21 +09:00
cfcd1d9420
feat: support memory and cpu driver options for docker-container
...
Signed-off-by: Zero <tobewhatwewant@outlook.com >
2023-09-29 23:57:19 +08:00
a59058e8a5
build: add --annotation shortcut flag
...
This extracts the same logic for parsing annotations from the imagetools
create command, and allows the same flags to be attached to the build
command.
These annotations are then merged into all provided exporters.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-09-11 15:31:04 +01:00
626e6f8fa3
Merge pull request #1905 from thaJeztah/cgroup_parent_description
...
update flag-description for --cgroup-parent
2023-08-23 10:15:47 +02:00
18894a8e3a
allow annotations for OCI image index
...
Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com >
2023-08-03 12:08:04 +02:00
bf00185809
Merge pull request #1681 from crazy-max/fup-buildinfo
...
docs: update since buildinfo removal
2023-07-31 10:55:30 +02:00
d957d8b987
docs: fix platform example for create command
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-07-26 17:50:58 +02:00