Fix words

This commit is contained in:
Baohua Yang
2026-01-10 22:39:51 -08:00
parent 6ea398255a
commit 8e85c1278a
36 changed files with 346 additions and 186 deletions

View File

@@ -118,7 +118,7 @@ RUN apt-get update && apt-get install -y \
`apt-get update` 放在一条单独的 `RUN` 声明中会导致缓存问题以及后续的 `apt-get install` 失败比如假设你有一个 `Dockerfile` 文件
```docker
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update
@@ -128,7 +128,7 @@ RUN apt-get install -y curl
构建镜像后所有的层都在 Docker 的缓存中假设你后来又修改了其中的 `apt-get install` 添加了一个包
```docker
FROM ubuntu:18.04
FROM ubuntu:24.04
RUN apt-get update