Commit Graph
3598 Commits
Author SHA1 Message Date
Remy Suen 7c4dd41cb0 dap: stop sending null to conform to the specification
The setBreakpoints response body is defined to be an array of
breakpoints but the debug adapter incorrectly serialized an empty array
as null in the JSON message. Explicitly initializing the array will
force the JSON serialization process to send an empty array back instead
of null.

Signed-off-by: Remy Suen <remy.suen@docker.com>
2025-10-23 05:31:37 -04:00
CrazyMaxandGitHub f478741671 Merge pull request #3459 from crazy-max/history-input-context
history: input:context attribute support
2025-10-22 21:23:35 +02:00
Tõnis TiigiandGitHub b006e0feca Merge pull request #3474 from crazy-max/doc-fix-bake-set
docs: fix bake set flag note
2025-10-22 08:49:07 -07:00
Jonathan A. SternbergandGitHub abf6ab4a37 Merge pull request #3471 from jsternberg/dap-attach-standalone
dap: support run in terminal request when buildx is run in standalone mode
2025-10-17 13:07:58 -05: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
CrazyMaxandGitHub 40828e6363 Merge pull request #3464 from rrjjvv/typed-vars-as-null
Ensure typed variables with no value still carry type
2025-10-17 11:53:26 +02:00
CrazyMaxandGitHub 56db4b3471 Merge pull request #3472 from AkihiroSuda/deprecate-install
deprecate `docker buildx install` and `docker buildx uninstall`
2025-10-17 10:32:44 +02:00
CrazyMaxandGitHub f8fb2abe5c Merge pull request #3473 from rcjsuen/no-cache-docs-fix
Correct no-cache attribute to be a boolean
2025-10-17 09:53:36 +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
Akihiro Suda 9e876421ee deprecate docker buildx install and docker buildx uninstall
Deprecate these commands in favor of using `docker buildx` directly,
without relying on the `docker builder` alias.

The commands have been hidden since the beginning.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-10-17 01:58:32 +09:00
Jonathan A. Sternberg 6ac8458692 dap: support run in terminal request when buildx is run in standalone mode
The run in terminal request sent by exec would not work if `buildx` had
been invoked directly instead of through `docker`. If we don't find the
reexec environment variable, we use `os.Args[0]` to launch buildx
directly when invoking attach.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-10-15 12:03:49 -05:00
CrazyMaxandGitHub 734034375e Merge pull request #3467 from docker/dependabot/github_actions/softprops/action-gh-release-2.4.1
build(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1
2025-10-14 11:36:12 +02:00
CrazyMaxandGitHub 1828d54475 Merge pull request #3456 from aevesdocker/ENGDOCS-3038
docs: update --set
2025-10-14 11:32:00 +02:00
aevesdocker 7e67a00323 docs: update --set
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-10-14 10:20:07 +01:00
dependabot[bot]andGitHub 214069e10e build(deps): bump softprops/action-gh-release from 2.4.0 to 2.4.1
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/aec2ec56f94eb8180ceec724245f64ef008b89f5...6da8fa9354ddfdc4aeace5fc48d7f679b5214090)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 18:03:36 +00:00
CrazyMaxandGitHub 854a58a65d Merge pull request #3466 from ricardobranco777/fix_make_target
make: Fix .PHONY target for test-integration
2025-10-13 17:55:01 +02:00
Ricardo Branco ae82740d9b make: Fix .PHONY target for test-integration
Signed-off-by: Ricardo Branco <rbranco@suse.de>
2025-10-13 17:08:26 +02:00
Tõnis TiigiandGitHub 41e725517d Merge pull request #3465 from crazy-max/go-1.25
update to go 1.25
2025-10-13 08:06:52 -07:00
CrazyMax 729996e8d1 dockerfile: update xx to 1.7.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-13 13:18:30 +02:00
CrazyMax 8472ef67ac update to go 1.25
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-13 13:18:30 +02:00
CrazyMax c40f9d9802 history: input:context attribute support
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-11 23:04:01 +02:00
CrazyMaxandCrazyMax 228a816bbb vendor: github.com/moby/buildkit@master 9b6f60ac8bf9
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-11 23:03:13 +02:00
Roberto Villarreal 3301329d57 Ensure typed variables with no value still carry type
A value-less, untyped variable has always been converted to an empty
string.  The intention was that value-less, typed variables convert to a
 typed null, which was even specified in a code comment, but was never
actually implemented.

This resulted in a null value with a nil type.  A value with a nil type
cannot be coerced ("unified") with any other standard types.  When this
mismatch occurs, HCL attempts to return a diagnostic error, which in
turn panics as the nil type is literally a nil pointer.

Signed-off-by: Roberto Villarreal <rrjjvv@yahoo.com>
2025-10-10 20:10:04 -06:00
Jonathan A. SternbergandGitHub beaebcbf39 Merge pull request #3438 from thaJeztah/bump_engine
vendor: github.com/docker/docker, docker/cli v28.5.1, buildkit v0.25.1
2025-10-09 09:54:43 -05:00
Sebastiaan van Stijn 08322e90c5 vendor: github.com/docker/docker, docker/cli v28.5.1
full diff:

- https://github.com/docker/cli/compare/v28.4.0...v28.5.1
- https://github.com/docker/docker/compare/v28.4.0...v28.5.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-10-08 22:45:12 +02:00
Sebastiaan van Stijn f4fb1715a5 vendor: github.com/moby/buildkit v0.25.1
full diff: https://github.com/moby/buildkit/compare/v0.25.0...v0.25.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-10-08 22:44:44 +02:00
CrazyMaxandGitHub c023bfaf02 Merge pull request #3457 from docker/dependabot/github_actions/softprops/action-gh-release-2.4.0
build(deps): bump softprops/action-gh-release from 2.3.4 to 2.4.0
2025-10-08 12:31:26 +02:00
CrazyMaxandGitHub e82478d6ba Merge pull request #3458 from docker/dependabot/github_actions/github/codeql-action-4
build(deps): bump github/codeql-action from 3 to 4
2025-10-08 12:31:07 +02:00
dependabot[bot]andGitHub 2fb73db70f build(deps): bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 18:03:35 +00:00
dependabot[bot]andGitHub 33a7908765 build(deps): bump softprops/action-gh-release from 2.3.4 to 2.4.0
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.4 to 2.4.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/62c96d0c4e8a889135c1f3a25910db8dbe0e85f7...aec2ec56f94eb8180ceec724245f64ef008b89f5)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 18:03:28 +00:00
CrazyMaxandGitHub e88d60301e Merge pull request #3455 from docker/dependabot/github_actions/softprops/action-gh-release-2.3.4
build(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4
2025-10-07 08:08:59 +02:00
dependabot[bot]andGitHub bdb7eded7d build(deps): bump softprops/action-gh-release from 2.3.3 to 2.3.4
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/6cbd405e2c4e67a21c47fa9e383d020e4e28b836...62c96d0c4e8a889135c1f3a25910db8dbe0e85f7)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 18:04:52 +00:00
CrazyMaxandGitHub fe4f8c1fd2 Merge pull request #3447 from tonistiigi/imagetools-create-manifests-fix
imagetools: fix possible broken chain copy on create
2025-10-03 11:42:22 +02:00
CrazyMaxandGitHub 100b96f896 Merge pull request #3448 from tonistiigi/imagetools-empty-mediatype
imagetools: silence warning for empty-type meditype used in artifacts
2025-10-03 11:41:26 +02:00
Tonis Tiigi ba4935585c imagetools: silence warning for empty-type meditype used in artifacts
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-10-02 10:43:33 -07:00
Tonis Tiigi ef2b4436cb imagetools: fix possible broken chain copy on create
When creating index from singe-arch manifests it
was possible for some of the internal manifests to not
be copies and cause error on pushing the index.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-10-02 10:36:48 -07:00
Tõnis TiigiandGitHub 51bed6f144 Merge pull request #3445 from jsternberg/buildkit-ref-update
ci: update buildkit ref for ci
2025-10-01 09:45:36 -07:00
Jonathan A. Sternberg b47488aea2 ci: update buildkit ref for ci
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-10-01 09:57:59 -05:00
CrazyMaxandGitHub 6430db95d2 Merge pull request #3444 from thaJeztah/no_ResolveDefaultContext
driver/kubernetes/context: don't use ResolveDefaultContext in test
2025-10-01 12:58:44 +02: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
Sebastiaan van Stijn 1126d853a8 driver/kubernetes/context: don't use ResolveDefaultContext in test
The ResolveDefaultContext function is only used internally by the CLI,
and has no known external users, except for this test in buildx. It was
exported in [cli@f820766] to allow (unit) testing, but did not document
that it was only exported for this purpose.

This patch rewrites the test to allow deprecating / removing the function
in the CLI.

[cli@f820766]: https://github.com/docker/cli/commit/f820766f6ac57188d96c9ca377f2b4627e90da28

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-10-01 11:31:09 +02:00
Jonathan A. SternbergandGitHub e2534c77e3 Merge pull request #3442 from jsternberg/buildkit-vendor
vendor: update buildkit to v0.25.0
2025-09-30 14:22:56 -05:00
Jonathan A. Sternberg 3d9cc5128a vendor: update buildkit to v0.25.0
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-09-30 14:09:19 -05:00
Tõnis TiigiandGitHub 82584815c3 Merge pull request #3440 from crazy-max/fix-gitutil-test
test: use temp dir for TestGit
2025-09-29 11:18:15 -07:00
CrazyMax 7eefa86662 test: use temp dir for TestGit
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-09-29 10:54:39 +02:00
Tõnis TiigiandGitHub b4b698c088 Merge pull request #3436 from jsternberg/dap-file-explorer-fix
dap: file explorer uses the wrong path when looking up mounts
2025-09-24 08:23:42 -07:00
Jonathan A. Sternberg 92ea5e64b4 dap: file explorer uses the wrong path when looking up mounts
It accidentally retrieved the relative path to the mount directory
instead of the full path which resulted in always returning the root
directory.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-09-24 09:28:38 -05:00
Tõnis TiigiandGitHub 285dd76b25 Merge pull request #3434 from tonistiigi/update-buildkit-v0.25.0-rc1
vendor: update buildkit to v0.25.0-rc1
2025-09-23 14:55:33 -07:00
Tonis Tiigi 3bea8ce3ad vendor: update buildkit to v0.25.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-09-23 13:32:44 -07:00