Commit Graph

3507 Commits

Author SHA1 Message Date
Tõnis Tiigi ae4e7ee6a4
Merge pull request #3370 from thaJeztah/bump_engine
vendor: github.com/docker/docker, docker/cli v28.4.0
2025-09-05 14:23:53 -07:00
CrazyMax 70487beecb
Merge pull request #3405 from thaJeztah/dockerfile_bump_docker
Dockerfile: update to docker v28.4.0
2025-09-05 10:03:38 +02:00
CrazyMax 86ddc5de4e
Merge pull request #3406 from docker/dependabot/github_actions/actions/labeler-6
build(deps): bump actions/labeler from 5 to 6
2025-09-05 10:03:17 +02:00
CrazyMax 7bcaf399b9
Merge pull request #3407 from docker/dependabot/github_actions/actions/setup-go-6
build(deps): bump actions/setup-go from 5 to 6
2025-09-05 10:02:58 +02:00
dependabot[bot] dc10c680f3
build(deps): bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 18:03:46 +00:00
dependabot[bot] 9c9fb2a12a
build(deps): bump actions/labeler from 5 to 6
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 18:03:42 +00:00
Sebastiaan van Stijn b4d5ec9bc2
Dockerfile: update to docker v28.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-09-04 00:24:06 +02:00
Sebastiaan van Stijn a923dbc1d9
vendor: github.com/docker/docker, docker/cli v28.4.0
full diffs:

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-09-04 00:11:44 +02:00
Tõnis Tiigi bafc4e207e
Merge pull request #3402 from jsternberg/dap-test-close-client
dap: ensure test client is closed on cleanup
2025-09-03 11:23:51 -07:00
Tõnis Tiigi 2109c9d80d
Merge pull request #3399 from crazy-max/test-gitquerystring
test: git query string
2025-09-03 09:35:04 -07:00
Jonathan A. Sternberg 8841b2dfc8
dap: ensure test client is closed on cleanup
The dap test wasn't waiting for the client's goroutines to complete
before exiting which caused a race condition that could cause it to log
to the dead test logger. This became apparent when `--count` of greater
than one was used since it caused the test to run long enough to trigger
the behavior. It would have also triggered if we had added more tests.

Add the client close to the cleanup so it waits for the goroutine to
finish before the test exits as it was properly supposed to do.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-09-03 10:51:01 -05: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 Suda 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 Suda 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 Tiigi 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 Tiigi 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 Tiigi 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 Tiigi 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 Tiigi 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 Tiigi 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 Tiigi 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
CrazyMax 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 Tiigi 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 Tiigi 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 Tiigi 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 Nonnemaker 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
CrazyMax 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
CrazyMax 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 Tiigi 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 Suda 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 Tiigi 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 Tiigi 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