From e5fd2235880992714bc21ddf744613f1748e2b55 Mon Sep 17 00:00:00 2001 From: crazy-max <1951866+crazy-max@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:14:24 +0000 Subject: [PATCH] vendor: github.com/docker/buildx v0.17.0 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../docker/buildx/docs/bake-reference.md | 59 +++++++++++++++---- .../moby/buildkit/docs/buildkitd.toml.md | 4 +- _vendor/modules.txt | 4 +- data/buildx/docker_buildx.yaml | 11 ++++ data/buildx/docker_buildx_bake.yaml | 30 ++++++++-- data/buildx/docker_buildx_build.yaml | 36 ++++++----- data/buildx/docker_buildx_create.yaml | 15 ++++- data/buildx/docker_buildx_debug.yaml | 11 ++++ data/buildx/docker_buildx_debug_build.yaml | 11 ++++ data/buildx/docker_buildx_dial-stdio.yaml | 11 ++++ data/buildx/docker_buildx_du.yaml | 11 ++++ data/buildx/docker_buildx_imagetools.yaml | 11 ++++ .../docker_buildx_imagetools_create.yaml | 14 ++++- .../docker_buildx_imagetools_inspect.yaml | 11 ++++ data/buildx/docker_buildx_inspect.yaml | 14 ++++- data/buildx/docker_buildx_install.yaml | 12 ++++ data/buildx/docker_buildx_ls.yaml | 12 ++++ data/buildx/docker_buildx_prune.yaml | 11 ++++ data/buildx/docker_buildx_rm.yaml | 11 ++++ data/buildx/docker_buildx_stop.yaml | 11 ++++ data/buildx/docker_buildx_uninstall.yaml | 12 ++++ data/buildx/docker_buildx_use.yaml | 11 ++++ data/buildx/docker_buildx_version.yaml | 12 ++++ go.mod | 6 +- go.sum | 2 + 25 files changed, 305 insertions(+), 48 deletions(-) diff --git a/_vendor/github.com/docker/buildx/docs/bake-reference.md b/_vendor/github.com/docker/buildx/docs/bake-reference.md index 0c4126be30..b60d391c89 100644 --- a/_vendor/github.com/docker/buildx/docs/bake-reference.md +++ b/_vendor/github.com/docker/buildx/docs/bake-reference.md @@ -443,8 +443,7 @@ COPY --from=src . . #### Use another target as base -> **Note** -> +> [!NOTE] > You should prefer to use regular multi-stage builds over this option. You can > Use this feature when you have multiple Dockerfiles that can't be easily > merged into one. @@ -506,6 +505,25 @@ $ docker buildx bake --print -f - <<< 'target "default" {}' } ``` +### `target.entitlements` + +Entitlements are permissions that the build process requires to run. + +Currently supported entitlements are: + +- `network.host`: Allows the build to use commands that access the host network. In Dockerfile, use [`RUN --network=host`](https://docs.docker.com/reference/dockerfile/#run---networkhost) to run a command with host network enabled. + +- `security.insecure`: Allows the build to run commands in privileged containers that are not limited by the default security sandbox. Such container may potentially access and modify system resources. In Dockerfile, use [`RUN --security=insecure`](https://docs.docker.com/reference/dockerfile/#run---security) to run a command in a privileged container. + +```hcl +target "integration-tests" { + # this target requires privileged containers to run nested containers + entitlements = ["security.insecure"] +} +``` + +Entitlements are enabled with a two-step process. First, a target must declare the entitlements it requires. Secondly, when invoking the `bake` command, the user must grant the entitlements by passing the `--allow` flag or confirming the entitlements when prompted in an interactive terminal. This is to ensure that the user is aware of the possibly insecure permissions they are granting to the build process. + ### `target.inherits` A target can inherit attributes from other targets. @@ -750,6 +768,27 @@ target "app" { } ``` +### `target.network` + +Specify the network mode for the whole build request. This will override the default network mode +for all the `RUN` instructions in the Dockerfile. Accepted values are `default`, `host`, and `none`. + +Usually, a better approach to set the network mode for your build steps is to instead use `RUN --network=` +in your Dockerfile. This way, you can set the network mode for individual build steps and everyone building +the Dockerfile gets consistent behavior without needing to pass additional flags to the build command. + +If you set network mode to `host` in your Bake file, you must also grant `network.host` entitlement when +invoking the `bake` command. This is because `host` network mode requires elevated privileges and can be a security risk. +You can pass `--allow=network.host` to the `docker buildx bake` command to grant the entitlement, or you can +confirm the entitlement when prompted if you are using an interactive terminal. + +```hcl +target "app" { + # make sure this build does not access internet + network = "none" +} +``` + ### `target.no-cache-filter` Don't use build cache for the specified stages. @@ -832,8 +871,8 @@ This lets you [mount the secret][run_mount_secret] in your Dockerfile. ```dockerfile RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ aws cloudfront create-invalidation ... -RUN --mount=type=secret,id=KUBECONFIG \ - KUBECONFIG=$(cat /run/secrets/KUBECONFIG) helm upgrade --install +RUN --mount=type=secret,id=KUBECONFIG,env=KUBECONFIG \ + helm upgrade --install ``` ### `target.shm-size` @@ -853,8 +892,7 @@ target "default" { } ``` -> **Note** -> +> [!NOTE] > In most cases, it is recommended to let the builder automatically determine > the appropriate configurations. Manual adjustments should only be considered > when specific performance tuning is required for complex build scenarios. @@ -919,14 +957,12 @@ target "app" { } ``` -> **Note** -> +> [!NOTE] > If you do not provide a `hard limit`, the `soft limit` is used > for both values. If no `ulimits` are set, they are inherited from > the default `ulimits` set on the daemon. -> **Note** -> +> [!NOTE] > In most cases, it is recommended to let the builder automatically determine > the appropriate configurations. Manual adjustments should only be considered > when specific performance tuning is required for complex build scenarios. @@ -1114,8 +1150,7 @@ target "webapp-dev" { } ``` -> **Note** -> +> [!NOTE] > See [User defined HCL functions][hcl-funcs] page for more details. diff --git a/_vendor/github.com/moby/buildkit/docs/buildkitd.toml.md b/_vendor/github.com/moby/buildkit/docs/buildkitd.toml.md index 607c5e34ba..9abe6d87f6 100644 --- a/_vendor/github.com/moby/buildkit/docs/buildkitd.toml.md +++ b/_vendor/github.com/moby/buildkit/docs/buildkitd.toml.md @@ -1,6 +1,4 @@ ---- -title: buildkitd.toml ---- +# buildkitd.toml The TOML file used to configure the buildkitd daemon settings has a short list of global settings followed by a series of sections for specific areas diff --git a/_vendor/modules.txt b/_vendor/modules.txt index f51bbd3d91..490193d0e2 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,6 +1,6 @@ # github.com/moby/moby v27.2.1+incompatible -# github.com/moby/buildkit v0.15.1 -# github.com/docker/buildx v0.16.2 +# github.com/moby/buildkit v0.16.0 +# github.com/docker/buildx v0.17.0 # github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible # github.com/docker/compose/v2 v2.29.2 # github.com/docker/scout-cli v1.13.0 diff --git a/data/buildx/docker_buildx.yaml b/data/buildx/docker_buildx.yaml index 972132ec77..27f0d5e754 100644 --- a/data/buildx/docker_buildx.yaml +++ b/data/buildx/docker_buildx.yaml @@ -44,6 +44,17 @@ options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} diff --git a/data/buildx/docker_buildx_bake.yaml b/data/buildx/docker_buildx_bake.yaml index 6338ec32fe..0836a274ae 100644 --- a/data/buildx/docker_buildx_bake.yaml +++ b/data/buildx/docker_buildx_bake.yaml @@ -8,8 +8,7 @@ long: |- Read [High-level build options with Bake](/build/bake/) guide for introduction to writing bake files. - > **Note** - > + > [!NOTE] > `buildx bake` command may receive backwards incompatible features in the future > if needed. We are looking for feedback on improving the command and extending > the functionality further. @@ -17,6 +16,16 @@ usage: docker buildx bake [OPTIONS] [TARGET...] pname: docker buildx plink: docker_buildx.yaml options: + - option: allow + value_type: stringArray + default_value: '[]' + description: Allow build to access specified resources + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false - option: call value_type: string default_value: build @@ -187,6 +196,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} @@ -302,8 +322,7 @@ examples: |- } ``` - > **Note** - > + > [!NOTE] > Build record [provenance](/build/metadata/attestations/slsa-provenance/#provenance-attestation-example) > (`buildx.build.provenance`) includes minimal provenance by default. Set the > `BUILDX_METADATA_PROVENANCE` environment variable to customize this behavior: @@ -311,8 +330,7 @@ examples: |- > * `max` sets full provenance. > * `disabled`, `false` or `0` does not set any provenance. - > **Note** - > + > [!NOTE] > Build warnings (`buildx.build.warnings`) are not included by default. Set the > `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to > include them. diff --git a/data/buildx/docker_buildx_build.yaml b/data/buildx/docker_buildx_build.yaml index 4943fe87ac..b2591eb155 100644 --- a/data/buildx/docker_buildx_build.yaml +++ b/data/buildx/docker_buildx_build.yaml @@ -543,6 +543,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Add entries to container hosts file (--add-host) {#add-host} @@ -1060,8 +1071,7 @@ examples: |- } ``` - > **Note** - > + > [!NOTE] > Build record [provenance](/build/metadata/attestations/slsa-provenance/#provenance-attestation-example) > (`buildx.build.provenance`) includes minimal provenance by default. Set the > `BUILDX_METADATA_PROVENANCE` environment variable to customize this behavior: @@ -1070,8 +1080,7 @@ examples: |- > - `max` sets full provenance. > - `disabled`, `false` or `0` doesn't set any provenance. - > **Note** - > + > [!NOTE] > Build warnings (`buildx.build.warnings`) are not included by default. Set the > `BUILDX_METADATA_WARNINGS` environment variable to `1` or `true` to > include them. @@ -1311,8 +1320,7 @@ examples: |- Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use `plain` to show container output (default `auto`). - > **Note** - > + > [!NOTE] > You can also use the `BUILDKIT_PROGRESS` environment variable to set its value. The following example uses `plain` output during the build: @@ -1330,8 +1338,7 @@ examples: |- ... ``` - > **Note** - > + > [!NOTE] > Check also the [`BUILDKIT_COLORS`](/build/building/variables/#buildkit_colors) > environment variable for modifying the colors of the terminal output. @@ -1429,8 +1436,8 @@ examples: |- # syntax=docker/dockerfile:1 FROM node:alpine RUN --mount=type=bind,target=. \ - --mount=type=secret,id=SECRET_TOKEN \ - SECRET_TOKEN=$(cat /run/secrets/SECRET_TOKEN) yarn run test + --mount=type=secret,id=SECRET_TOKEN,env=SECRET_TOKEN \ + yarn run test ``` ```console @@ -1446,8 +1453,7 @@ examples: |- optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you omit the unit, the system uses bytes. - > **Note** - > + > [!NOTE] > In most cases, it is recommended to let the builder automatically determine > the appropriate configurations. Manual adjustments should only be considered > when specific performance tuning is required for complex build scenarios. @@ -1533,14 +1539,12 @@ examples: |- $ docker buildx build --ulimit nofile=1024:1024 . ``` - > **Note** - > + > [!NOTE] > If you don't provide a `hard limit`, the `soft limit` is used > for both values. If no `ulimits` are set, they're inherited from > the default `ulimits` set on the daemon. - > **Note** - > + > [!NOTE] > In most cases, it is recommended to let the builder automatically determine > the appropriate configurations. Manual adjustments should only be considered > when specific performance tuning is required for complex build scenarios. diff --git a/data/buildx/docker_buildx_create.yaml b/data/buildx/docker_buildx_create.yaml index 7e4157a3c0..c94e26f8b2 100644 --- a/data/buildx/docker_buildx_create.yaml +++ b/data/buildx/docker_buildx_create.yaml @@ -147,6 +147,18 @@ options: experimentalcli: false kubernetes: false swarm: false +inherited_options: + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Append a new node to an existing builder (--append) {#append} @@ -208,8 +220,7 @@ examples: |- --buildkitd-flags '--oci-worker-net bridge' ``` - > **Note** - > + > [!NOTE] > Network mode "bridge" is supported since BuildKit v0.13 and will become the > default in next v0.14. diff --git a/data/buildx/docker_buildx_debug.yaml b/data/buildx/docker_buildx_debug.yaml index efd408a651..90e6d0e875 100644 --- a/data/buildx/docker_buildx_debug.yaml +++ b/data/buildx/docker_buildx_debug.yaml @@ -78,6 +78,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false deprecated: false hidden: false experimental: false diff --git a/data/buildx/docker_buildx_debug_build.yaml b/data/buildx/docker_buildx_debug_build.yaml index 1411a2fb73..dccc8aa96f 100644 --- a/data/buildx/docker_buildx_debug_build.yaml +++ b/data/buildx/docker_buildx_debug_build.yaml @@ -514,6 +514,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false deprecated: false hidden: false experimental: false diff --git a/data/buildx/docker_buildx_dial-stdio.yaml b/data/buildx/docker_buildx_dial-stdio.yaml index b757f4ead0..ca47c5afd7 100644 --- a/data/buildx/docker_buildx_dial-stdio.yaml +++ b/data/buildx/docker_buildx_dial-stdio.yaml @@ -37,6 +37,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- Example go program that uses the dial-stdio command wire up a buildkit client. This is for example use only and may not be suitable for production use. diff --git a/data/buildx/docker_buildx_du.yaml b/data/buildx/docker_buildx_du.yaml index 83b3d53135..a390b95b20 100644 --- a/data/buildx/docker_buildx_du.yaml +++ b/data/buildx/docker_buildx_du.yaml @@ -36,6 +36,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Show disk usage diff --git a/data/buildx/docker_buildx_imagetools.yaml b/data/buildx/docker_buildx_imagetools.yaml index 49990db0ac..7f1aef5292 100644 --- a/data/buildx/docker_buildx_imagetools.yaml +++ b/data/buildx/docker_buildx_imagetools.yaml @@ -23,6 +23,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} diff --git a/data/buildx/docker_buildx_imagetools_create.yaml b/data/buildx/docker_buildx_imagetools_create.yaml index 12324c4316..4bcb085db3 100644 --- a/data/buildx/docker_buildx_imagetools_create.yaml +++ b/data/buildx/docker_buildx_imagetools_create.yaml @@ -104,6 +104,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Add annotations to an image (--annotation) {#annotation} @@ -120,8 +131,7 @@ examples: |- foo/bar:alpha foo/bar:beta foo/bar:gamma ``` - > **Note** - > + > [!NOTE] > The `imagetools create` command supports adding annotations to the image > index and descriptor, using the following type prefixes: > diff --git a/data/buildx/docker_buildx_imagetools_inspect.yaml b/data/buildx/docker_buildx_imagetools_inspect.yaml index d8d6d34dba..4a2ddc9369 100644 --- a/data/buildx/docker_buildx_imagetools_inspect.yaml +++ b/data/buildx/docker_buildx_imagetools_inspect.yaml @@ -75,6 +75,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} diff --git a/data/buildx/docker_buildx_inspect.yaml b/data/buildx/docker_buildx_inspect.yaml index 50d22a38f2..72711fd22c 100644 --- a/data/buildx/docker_buildx_inspect.yaml +++ b/data/buildx/docker_buildx_inspect.yaml @@ -27,6 +27,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Ensure that the builder is running before inspecting (--bootstrap) {#bootstrap} @@ -48,8 +59,7 @@ examples: |- The following example shows information about a builder instance named `elated_tesla`: - > **Note** - > + > [!NOTE] > The asterisk (`*`) next to node build platform(s) indicate they have been > manually set during `buildx create`. Otherwise the platforms were > automatically detected. diff --git a/data/buildx/docker_buildx_install.yaml b/data/buildx/docker_buildx_install.yaml index eabda1ba91..39072f3cfe 100644 --- a/data/buildx/docker_buildx_install.yaml +++ b/data/buildx/docker_buildx_install.yaml @@ -13,6 +13,18 @@ options: experimentalcli: false kubernetes: false swarm: false +inherited_options: + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false deprecated: false hidden: true experimental: false diff --git a/data/buildx/docker_buildx_ls.yaml b/data/buildx/docker_buildx_ls.yaml index 045d5635a9..ec39413949 100644 --- a/data/buildx/docker_buildx_ls.yaml +++ b/data/buildx/docker_buildx_ls.yaml @@ -39,6 +39,18 @@ options: experimentalcli: false kubernetes: false swarm: false +inherited_options: + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Format the output (--format) {#format} diff --git a/data/buildx/docker_buildx_prune.yaml b/data/buildx/docker_buildx_prune.yaml index 0b3cbc3a77..a31e9caea4 100644 --- a/data/buildx/docker_buildx_prune.yaml +++ b/data/buildx/docker_buildx_prune.yaml @@ -84,6 +84,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} diff --git a/data/buildx/docker_buildx_rm.yaml b/data/buildx/docker_buildx_rm.yaml index 87892c3ed1..94eed6c8da 100644 --- a/data/buildx/docker_buildx_rm.yaml +++ b/data/buildx/docker_buildx_rm.yaml @@ -63,6 +63,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Remove all inactive builders (--all-inactive) {#all-inactive} diff --git a/data/buildx/docker_buildx_stop.yaml b/data/buildx/docker_buildx_stop.yaml index 9d9e834291..2f8f4dbd81 100644 --- a/data/buildx/docker_buildx_stop.yaml +++ b/data/buildx/docker_buildx_stop.yaml @@ -17,6 +17,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} diff --git a/data/buildx/docker_buildx_uninstall.yaml b/data/buildx/docker_buildx_uninstall.yaml index e1fe8aaaa0..5b76613248 100644 --- a/data/buildx/docker_buildx_uninstall.yaml +++ b/data/buildx/docker_buildx_uninstall.yaml @@ -13,6 +13,18 @@ options: experimentalcli: false kubernetes: false swarm: false +inherited_options: + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false deprecated: false hidden: true experimental: false diff --git a/data/buildx/docker_buildx_use.yaml b/data/buildx/docker_buildx_use.yaml index d3b11ee817..2eca22bdb3 100644 --- a/data/buildx/docker_buildx_use.yaml +++ b/data/buildx/docker_buildx_use.yaml @@ -39,6 +39,17 @@ inherited_options: experimentalcli: false kubernetes: false swarm: false + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false examples: |- ### Override the configured builder instance (--builder) {#builder} diff --git a/data/buildx/docker_buildx_version.yaml b/data/buildx/docker_buildx_version.yaml index 570c429c56..7ec7a226f5 100644 --- a/data/buildx/docker_buildx_version.yaml +++ b/data/buildx/docker_buildx_version.yaml @@ -19,6 +19,18 @@ options: experimentalcli: false kubernetes: false swarm: false +inherited_options: + - option: debug + shorthand: D + value_type: bool + default_value: "false" + description: Enable debug logging + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false deprecated: false hidden: false experimental: false diff --git a/go.mod b/go.mod index 8a57f26659..81c7b3f091 100644 --- a/go.mod +++ b/go.mod @@ -5,16 +5,16 @@ go 1.21.0 toolchain go1.22.5 require ( - github.com/docker/buildx v0.16.2 // indirect + github.com/docker/buildx v0.17.0 // indirect github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible // indirect github.com/docker/compose/v2 v2.29.2 // indirect github.com/docker/scout-cli v1.13.0 // indirect - github.com/moby/buildkit v0.15.1 // indirect + github.com/moby/buildkit v0.16.0 // indirect github.com/moby/moby v27.2.1+incompatible // indirect ) replace ( - github.com/docker/buildx => github.com/docker/buildx v0.16.2 + github.com/docker/buildx => github.com/docker/buildx v0.17.0 github.com/docker/cli => github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.29.2 github.com/docker/scout-cli => github.com/docker/scout-cli v1.13.0 diff --git a/go.sum b/go.sum index 9631bd7719..e60c544453 100644 --- a/go.sum +++ b/go.sum @@ -78,6 +78,8 @@ github.com/docker/buildx v0.16.0 h1:LurEflyb6BBoLtDwJY1dw9dLHKzEgGvCjAz67QI0xO0= github.com/docker/buildx v0.16.0/go.mod h1:4xduW7BOJ2B11AyORKZFDKjF6Vcb4EgTYnV2nunxv9I= github.com/docker/buildx v0.16.2 h1:SPcyEiiCZEntJQ+V0lJI8ZudUrki2v1qUqmC/NqxDDs= github.com/docker/buildx v0.16.2/go.mod h1:by+CuE4Q+2NvECkIhNcWe89jjbHADCrDlzS9MRgbv2k= +github.com/docker/buildx v0.17.0 h1:Z+QQxsJJPldaeU/4aNXoudFwDDK0/ALFYmDcP5q5fiY= +github.com/docker/buildx v0.17.0/go.mod h1:sBKkoZFs+R2D6ARyQ4/GE/FQHHFsl9PkHdvv/GXAsMo= github.com/docker/cli v24.0.2+incompatible h1:QdqR7znue1mtkXIJ+ruQMGQhpw2JzMJLRXp6zpzF6tM= github.com/docker/cli v24.0.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/cli v24.0.4+incompatible h1:Y3bYF9ekNTm2VFz5U/0BlMdJy73D+Y1iAAZ8l63Ydzw=