From ff57ae17052542fe5b4ed3846992646df50af6dd Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 22 Jul 2022 17:05:07 +0200 Subject: [PATCH] docs: replace links with ones from docs.docker.com Signed-off-by: CrazyMax --- docs/reference/buildx_build.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/reference/buildx_build.md b/docs/reference/buildx_build.md index a0e622e0..94979c05 100644 --- a/docs/reference/buildx_build.md +++ b/docs/reference/buildx_build.md @@ -68,7 +68,7 @@ Allow extra privileged entitlement. List of entitlements: - `network.host` - Allows executions with host networking. - `security.insecure` - Allows executions without sandbox. See - [related Dockerfile extensions](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md#run---securityinsecuresandbox). + [related Dockerfile extensions](https://docs.docker.com/engine/reference/builder/#run---securitysandbox). For entitlements to be enabled, the `buildkitd` daemon also needs to allow them with `--allow-insecure-entitlement` (see [`create --buildkitd-flags`](buildx_create.md#buildkitd-flags)) @@ -95,7 +95,9 @@ There are also useful built-in build args like: $ docker buildx build --build-arg BUILDKIT_MULTI_PLATFORM=1 . ``` -More built-in build args can be found in [dockerfile frontend docs](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md#built-in-build-args). +> **Note** +> +> More built-in build args can be found in [Dockerfile reference docs](https://docs.docker.com/engine/reference/builder/#buildkit-built-in-build-args). ### Additional build contexts (--build-context) @@ -443,7 +445,7 @@ build result to registry. ``` Exposes secret to the build. The secret can be used by the build using -[`RUN --mount=type=secret` mount](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md#run---mounttypesecret). +[`RUN --mount=type=secret` mount](https://docs.docker.com/engine/reference/builder/#run---mounttypesecret). If `type` is unset it will be detected. Supported types are: @@ -501,7 +503,7 @@ This can be useful when some commands in your Dockerfile need specific SSH authentication (e.g., cloning a private repository). `--ssh` exposes SSH agent socket or keys to the build and can be used with the -[`RUN --mount=type=ssh` mount](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md#run---mounttypessh). +[`RUN --mount=type=ssh` mount](https://docs.docker.com/engine/reference/builder/#run---mounttypessh). Example to access Gitlab using an SSH agent socket: