Commit Graph
399 Commits
Author SHA1 Message Date
CrazyMax 3836aeb949 bake: add semvercmp func to stdlib
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-01-06 09:34:10 +01:00
CrazyMax 9173ef69ec docs: named contexts override with bake
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-28 15:05:47 +01:00
David Karlsson 8f883df6de docs: remove unnecessary custom anchors and heading in bake stdlib
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-11-17 11:20:01 +01:00
Justin Chadwell a516d3fb37 docs: document using build contexts to override syntax directive
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-11-11 16:15:47 +00:00
Roberto Castellotti 7253a04b2a docs: fix typo in bake reference
Signed-off-by: Roberto Castellotti <me@rcastellotti.dev>
2025-10-30 19:06:20 +01:00
Tõnis TiigiandGitHub 805c377292 Merge pull request #3454 from jsternberg/buildx-tag-help
docs: clarify cli help for the `--tag` option
2025-10-23 12:11:33 -07:00
CrazyMax 399af8eeb9 docs: fix bake set flag note
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-17 13:17:56 +02:00
Remy Suen 7898cee6b5 Correct no-cache attribute to be a boolean
The documentation is incorrect because no-cache needs to be a boolean.

Signed-off-by: Remy Suen <remy.suen@docker.com>
2025-10-16 17:06:43 -04:00
aevesdocker 7e67a00323 docs: update --set
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-10-14 10:20:07 +01:00
Jonathan A. Sternberg ec01355b03 docs: clarify cli help for the --tag option
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-10-06 12:46:59 -05:00
CrazyMaxandGitHub c7b50dcca3 Merge pull request #3435 from aevesdocker/ENGDOCS-2996
Docs: examples for each bake standard library functions
2025-10-01 12:46:39 +02:00
aevesdocker d41f79f9a1 Docs: examples for each bake standard library functions
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-10-01 11:25:33 +01:00
Tõnis TiigiandGitHub 40f318f9d8 Merge pull request #3431 from tonistiigi/progress-none
add progress=none option
2025-09-23 11:33:37 -07:00
Tõnis TiigiandGitHub 568c693972 Merge pull request #3430 from tonistiigi/imagetools-create-platforms
imagetools: add platforms filter to imagetools create
2025-09-23 08:47:52 -07:00
Tonis Tiigi f448f3e22b imagetools: add platforms filter to imagetools create
Allows specifying platforms that should be included
in the new image, making it possible to reduce platforms
of existing multi-arch image. Previously the individual
image manifests needed to be used as sources, but that
dropped their related attestation manifests.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-09-23 08:10:11 -07:00
Jonathan A. Sternberg 39feed47ea docs: add plugin guideline requirements for dap plugins
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-09-22 12:13:15 -05:00
Tonis Tiigi 9c7b9628ef add progress=none option
Currently there is no way to completely suppress the progress output.
We have --progress=quiet but it has additional effect of printing
image ID as a progress for historical reasons. --progress=none
behaves like quiet but without this extra output printing depending
on build output.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-09-22 10:10:20 -07:00
CrazyMaxandGitHub e540b7af14 Merge pull request #3421 from aevesdocker/ENGDOCS-2992
docs: --load flag clarity
2025-09-11 17:03:37 +02:00
aevesdocker 05c6753bb7 docs: --load and --push flag clarity
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-11 14:41:22 +01:00
CrazyMaxandGitHub 3293a2ef41 Merge pull request #3419 from aevesdocker/ENGDOCS-2986
docs: device entitlements
2025-09-11 13:55:17 +02:00
aevesdocker 9d8107ee3d docs: device entitlements
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-11 10:25:49 +01:00
aevesdocker 983716a198 grammar
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-10 15:22:41 +01:00
aevesdocker 2b991cb800 docs: add variable attribute
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-10 15:19:41 +01:00
Tõnis TiigiandGitHub d873cae872 Merge pull request #3392 from crazy-max/docs-du-filter
docs: list available filters for du and prune commands
2025-08-29 15:05:35 -07:00
CrazyMax ebe66a8e2e docs: list available filters for du and prune commands
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-28 15:32:10 +02:00
CrazyMax ce07ae04cd docs: fixes for du command
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-28 11:25:53 +02:00
Tõnis TiigiandGitHub bb41e835b6 Merge pull request #3375 from jsternberg/update-dap-docs
docs: update dap docs to reflect updates to the debugger
2025-08-27 15:03:15 -07:00
CrazyMaxandCrazyMax b6baad406b cmd: multiple formats output support for du command
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-27 18:07:14 +02:00
Jonathan A. Sternberg a7c54da345 docs: update dap docs to reflect updates to the debugger
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-08-19 10:19:09 -05:00
CrazyMaxandGitHub 46463d93bf Merge pull request #3346 from crazy-max/docs-call-override
docs: missing call as override field
2025-08-05 19:07:31 +02:00
CrazyMax e4b49a8cd9 bake: add homedir func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-05 10:21:55 +02:00
CrazyMax 264c8f9f3d docs: missing call as override field
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-07-30 13:01:23 +02:00
Tõnis TiigiandGitHub a894a678f1 Merge pull request #3308 from jsternberg/dap-docs
docs: add docs related to dap
2025-07-15 09:18:29 -07:00
Jonathan A. Sternberg ac9050261e docs: add docs related to dap
Adds some entry-level and developer-friendly docs for the debug adapter.
The one in `docs/dap.md` is meant for someone trying to use the debugger
while the one in `docs/reference/buildx_dap_build.md` is more focused on
documenting the command to be integrated in a debugger extension.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-07-15 10:58:01 -05:00
Tõnis TiigiandGitHub 661a1593f6 Merge pull request #3289 from crazy-max/bake-stdlib-description
bake: set missing stdlib functions description
2025-07-11 17:27:15 -07:00
Tõnis TiigiandGitHub e3eb64e73d Merge pull request #3294 from jsternberg/dap-stop-on-entry
dap: support stopOnEntry to configure behavior when starting the debugger
2025-07-09 13:05:41 -07:00
CrazyMax 42dcd3c655 docs: update links and add missing type for build cache exporters
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-07-09 12:32:04 +02:00
Jonathan A. Sternberg a291698eaf dap: support stopOnEntry to configure behavior when starting the debugger
This will configure the default behavior when beginning to evaluate a
build target. When `stopOnEntry` is used, it will default to `stepNext`.
Otherwise, `stepContinue` will be used.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-07-07 09:39:23 -05:00
CrazyMax ddec7679f6 bake: set missing stdlib functions description
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-07-03 08:17:42 +02:00
CrazyMaxandGitHub 55698253a5 Merge pull request #3287 from crazy-max/bake-stdlib-docs
docs: generate docs for bake standard library functions
2025-07-03 08:14:01 +02:00
CrazyMax 6997d61998 docs: generate docs for bake standard library functions
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-07-02 23:57:02 +02:00
Tõnis TiigiandGitHub 758ea75f60 Merge pull request #3235 from jsternberg/dap-handler
dap: add debug adapter implementation
2025-07-02 12:58:07 -07:00
Jonathan A. Sternberg 42599a7d49 dap: add debug adapter implementation
Adds a simple implementation of the debug adapter that supports the very
basics of a debug adapter.

It supports the launch request, the configuration done request, the
creation of threads, stopping, resuming, and disconnecting from server.

It does not support custom breakpoints, stack traces, or variable
inspection yet. These are planned to be added in the future.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-06-30 10:51:20 -05:00
Tõnis TiigiandGitHub 0bed0b5653 Merge pull request #3242 from rrjjvv/new-bakefile-env-var
Allow bake files to be specified via environment variable
2025-06-25 08:54:04 -07:00
Tõnis TiigiandGitHub 63bb3db985 Merge pull request #3264 from crazy-max/fix-args-history
history: fix required args for inspect attachment command
2025-06-24 11:13:05 -07:00
CrazyMax 179aad79b5 history: fix required args for inspect attachment command
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-24 16:06:54 +02:00
CrazyMax ec45eb6ebc docs: fix history inspect attachment examples
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-23 09:40:13 +02:00
Roberto Villarreal cb54ddb9fe Allow bake files to be specified via environment variable
The environment variable `BUILDX_BAKE_FILE` (and optional variable
`BUILDX_BAKE_FILE_SEPARATOR`) can be used to specify one or more bake
files (similar to `compose`).  This is mutually exclusive with`--file`
(which takes precedence).

This is done very early to ensure the values are treated just like
`--file`, e.g., participate in telemetry.  This includes leaving
relative paths as-is, which deviates from `compose` (which makes them
absolute).

Signed-off-by: Roberto Villarreal <rrjjvv@yahoo.com>
2025-06-16 00:08:54 -06:00
Jonathan A. Sternberg 7f5ff6b797 commands: remove debug package in commands
The package just causes the entire flow to be more complicated as build
has to pretend it doesn't know about debug options and the debugger has
to pretend it doesn't know about the build.

This abstraction has been difficult when integrating a DAP command into
this same workflow so I don't think this abstraction has much of a
value.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-06-13 09:32:35 -05:00
CrazyMax b514ed45fb bake: extra-hosts support
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-11 19:38:01 +02:00