From 6fd6d7a28c5f937c1494bca40a190d72b52f7b03 Mon Sep 17 00:00:00 2001 From: "colynn.liu" Date: Thu, 11 Apr 2024 16:48:07 +0800 Subject: [PATCH] fix: md synatx --- docker/dockerfile-guide.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/dockerfile-guide.md b/docker/dockerfile-guide.md index 7342851..90138d5 100644 --- a/docker/dockerfile-guide.md +++ b/docker/dockerfile-guide.md @@ -35,6 +35,8 @@ - [docker镜像的生成方式](#docker镜像的生成方式) - [方式](#方式) - [彩蛋 - BuildKit](#彩蛋---buildkit) + - [使用BuildKit的内置ARGs](#使用buildkit的内置args) + - [Differences between legacy builder and BuildKit](#differences-between-legacy-builder-and-buildkit) ## 前置 - docker是什么 @@ -491,7 +493,6 @@ The following ARG variables are set automatically: 但是上面的这些ARGs你要使用,需要先在`Dockerfile`通过ARG xx的方式声明后,再可获取至相应参数的定义, 更多信息参看[官网链接](https://docs.docker.com/reference/dockerfile/#automatic-platform-args-in-the-global-scope) - ### Differences between legacy builder and BuildKit The legacy Docker Engine builder processes all stages of a Dockerfile leading up to the selected `--target`. It will build a stage even if the selected target doesn’t depend on that stage.