Commit Graph
3497 Commits
Author SHA1 Message Date
Tõnis TiigiandGitHub 2109c9d80d Merge pull request #3399 from crazy-max/test-gitquerystring
test: git query string
2025-09-03 09:35:04 -07:00
CrazyMax 643322cbc3 test: git query string
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-09-03 17:49:38 +02:00
Akihiro SudaandGitHub 056780314b Merge pull request #3401 from crazy-max/buildkit-0.24.0
vendor: update buildkit to v0.24.0
2025-09-03 23:33:10 +09:00
CrazyMax d136d2ba53 vendor: update buildkit to v0.24.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-09-03 16:14:35 +02:00
Akihiro SudaandGitHub e4f23adf3f Merge pull request #3398 from tonistiigi/gitquerystring-cap-detect
git querystring frontend capability detection
2025-09-03 16:50:10 +09:00
Tonis Tiigi 5e6951c571 git querystring frontend capability detection
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-09-02 10:46:37 -07: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
Tõnis TiigiandGitHub 4df89d89fc Merge pull request #3397 from tonistiigi/update-buildkit-v0.24.0-rc2
vendor: update buildkit to v0.24.0-rc2
2025-08-29 15:04:27 -07:00
Tonis Tiigi 1f39ad2001 vendor: update buildkit to v0.24.0-rc2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-08-29 14:49:16 -07:00
Tõnis TiigiandGitHub ce3592e4ab Merge pull request #3390 from crazy-max/docs-du-fixes
docs: fixes for du command
2025-08-29 10:37:22 -07:00
Tõnis TiigiandGitHub 67218bef58 Merge pull request #3394 from thaJeztah/check_DisableFlagsInUseLine
commands: verify that DisableFlagsInUseLine is set for all commands
2025-08-28 12:53:21 -07:00
Sebastiaan van Stijn 07b99ae7bf commands: verify that DisableFlagsInUseLine is set for all commands
This replaces the DisableFlagsInUseLine call from the CLI with a test
that verifies the option is set for all commands and subcommands, so
that it doesn't have to be modified at runtime.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-08-28 17:55:50 +02: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
Tõnis TiigiandGitHub 31a3fbf107 Merge pull request #3387 from tonistiigi/update-buildkit-v0.24.0-rc1
vendor: update buildkit to v0.24.0-rc1
2025-08-27 15:01:12 -07:00
Tonis Tiigi 440dc2a212 temp skip DAP test that panics in errgroup goroutine
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-08-27 14:38:37 -07:00
Tõnis TiigiandGitHub d94a6cf92a Merge pull request #3377 from crazy-max/du-json
cmd: multiple formats output support for du command
2025-08-27 13:45:23 -07:00
Tonis Tiigi ec3b99180b vendor: update buildkit to v0.24.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-08-27 13:39:14 -07:00
CrazyMax f0646eeab5 tests: diskusage command
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-27 18:07:14 +02: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
Tõnis TiigiandGitHub df7c46b02d Merge pull request #3384 from crazy-max/export-annotations-check
build: fail early if trying to export index annotations with moby exporter
2025-08-27 08:44:51 -07:00
Tõnis TiigiandGitHub 026e55b376 Merge pull request #3386 from crazy-max/winsymlink0
restore junctions to have os.ModeSymlink flag set on Windows
2025-08-27 08:38:43 -07:00
CrazyMax 300a136d4c restore junctions to have os.ModeSymlink flag set on Windows
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-27 15:06:48 +02:00
CrazyMax a8f546eea5 build: fail early if trying to export index annotations with moby exporter
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-27 11:17:31 +02:00
Tõnis TiigiandGitHub 177b980958 Merge pull request #3385 from marxarelli/feature/support-buildkit-syntax-arg
Add BUILDKIT_SYNTAX option handling
2025-08-27 03:19:45 +03:00
Dan Duvall fc3ecb60fb Preserve raw BUILDKIT_SYNTAX as cmdline option
Set gateway `source` to the first part of `BUILDKIT_SYNTAX` and
`cmdline` to the entire raw value to preserve additional options.

Signed-off-by: Dan Duvall <dduvall@wikimedia.org>
2025-08-26 13:56:07 -07:00
Will NonnemakerandDan Duvall b99e799f00 Add BUILDKIT_SYNTAX option handling
This fix allows building with a remote builder where
frontend.dockerfile.v0 enabled = false in the buildkitd yaml file.

Note that this change only allows the usage of BUILDKIT_SYNTAX with
a custom frontend image, and using the #syntax directive in this case
will still fail.

Resolves: docker#3077

Signed-off-by: Will Nonnemaker <wnonnemaker@gmail.com>
2025-08-26 13:51:22 -07:00
CrazyMaxandGitHub 15da6042cc Merge pull request #3379 from crazy-max/update-pflag
vendor: github.com/spf13/pflag v1.0.7
2025-08-26 17:29:30 +02:00
CrazyMax bfeb19abc8 vendor: github.com/spf13/pflag v1.0.7
full diff: https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-26 13:37:43 +02:00
CrazyMaxandGitHub d7cd677480 Merge pull request #3378 from crazy-max/update-testify
vendor: github.com/stretchr/testify v1.11.0
2025-08-26 13:34:59 +02:00
CrazyMax 149b2a231b vendor: github.com/stretchr/testify v1.11.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-25 15:19:36 +02:00
Tõnis TiigiandGitHub a6e198a341 Merge pull request #3301 from crazy-max/ci-matrix-subaction
ci(validate): use matrix subaction
2025-08-21 10:49:29 +03:00
CrazyMax 159a68cbb8 ci(validate): use matrix subaction
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-21 08:19:26 +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
Akihiro SudaandGitHub 2d65b12a65 Merge pull request #3373 from tonistiigi/kubernetes-env
kubernetes: add env driver opt to kubernetes
2025-08-19 00:38:25 +09:00
Tõnis TiigiandGitHub bac71def78 Merge pull request #3366 from jsternberg/dap-detect-parent
dap: improve determination of the proper parent for certain ops
2025-08-18 18:34:57 +03:00
Tonis Tiigi 9f721e3190 kubernetes: add env driver opt to kubernetes
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-08-18 18:11:53 +03:00
Jonathan A. Sternberg 5c97696d64 dap: improve determination of the proper parent for certain ops
Improves the determination of the proper parent for exec and file ops.
With file ops, it will only consider inputs and ignore secondary inputs.
This prevents the following case:

```
FROM busybox AS build1
RUN echo foo > /hello

FROM scratch
COPY --from=build1 /hello .
```

Previously, `build1` would be considered the parent of the copy
instruction. Now, copy properly does not have a parent.

If there are multiple file ops and the operations disagree on the
canonical "parent", we give up on trying to find a canonical parent and
assume there is none.

For exec operations, whichever input is associated with the root mount
is considered the primary parent.

For all other operations, the first parent is considered the primary
parent if it exists.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-08-18 09:27:02 -05:00
Tõnis TiigiandGitHub 8033908d09 Merge pull request #3371 from jsternberg/dap-nested-dockerfile-path
dap: look for base name of dockerfile name instead of path from context
2025-08-16 08:26:40 +03:00
Jonathan A. Sternberg b3c389690c dap: look for base name of dockerfile name instead of path from context
When the builder loads a dockerfile, it does it by using the base name
of the dockerfile path and only loads the innermost directory. This
means that the source name we're looking for is the base name and not
the full relative path.

Update the set breakpoints functionality so it takes this into account.
Fixes scenarios where DAP is used with a dockerfile nested in the
context.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-08-15 14:41:00 -05:00
Tõnis TiigiandGitHub 10605b8c35 Merge pull request #3320 from crazy-max/mount-wsl-lib
driver: mount wsl lib folder for docker-container driver
2025-08-13 15:42:38 +03:00
Tõnis TiigiandGitHub 4f9f47deec Merge pull request #3341 from jsternberg/dap-persistent-exec
dap: make exec shell persistent across the build
2025-08-13 15:34:54 +03:00
CrazyMaxandGitHub da81bc15b3 Merge pull request #3364 from docker/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-08-13 09:21:26 +02:00
dependabot[bot]andGitHub a3fa6a7b15 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 22:51:34 +00:00
Jonathan A. Sternberg dbda218489 dap: make exec shell persistent across the build
Invoking the shell will cause it to persist across the entire build and
to re-execute whenever the builder pauses at another location again.

This still requires using `exec` to launch the shell. Launching by frame
id is also removed since it no longer applies to this version.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-08-11 12:40:09 -05:00
Tõnis TiigiandGitHub c6d1e397a8 Merge pull request #3352 from crazy-max/compose-pull-nocache
bake: pull and no-cache support for compose
2025-08-11 11:55:06 +03:00
CrazyMaxandGitHub 7c434131a3 Merge pull request #3361 from crazy-max/compose-sanitize-ncontexts
compose: sanitize value of named contexts for target type
2025-08-08 16:07:37 +02:00
CrazyMax c365f015b1 compose: sanitize value of named contexts for target type
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-08 14:43:48 +02:00
CrazyMaxandGitHub 358312317a Merge pull request #3357 from crazy-max/update-compose
dockerfile: update compose to 2.39.1
2025-08-08 09:34:45 +02:00