Skip to content

Commit

Permalink
fix: md synatx
Browse files Browse the repository at this point in the history
  • Loading branch information
colynn committed Apr 11, 2024
1 parent d49e7f4 commit 6fd6d7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/dockerfile-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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是什么

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6fd6d7a

Please sign in to comment.