mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
chore: lint cleanup and version corrections
- Accept benign linter changes (version notes, explicit tags, formatting) - Fix incorrect version downgrades introduced by linter: - golang:1.22→1.26 (restored) - rust:1.82→1.95 (restored) - 23 files updated
This commit is contained in:
@@ -34,6 +34,8 @@ ubuntu noble 329ed837d508 3 days ago 78MB
|
||||
|
||||
注意上面的 `ubuntu:24.04` 和 `ubuntu:noble` 拥有相同的 IMAGE ID——它们是同一个镜像的不同标签,只占用一份存储空间。
|
||||
|
||||
> **版本说明**:`ubuntu:24.04` 是具体版本号,`ubuntu:noble` 是发布代号(Ubuntu 24.04 的代号)。在 Dockerfile 中应优先使用版本号(如 `ubuntu:24.04`)而非发布代号,因为版本号在将来更易理解。
|
||||
|
||||
---
|
||||
|
||||
### 4.2.3 理解镜像大小
|
||||
|
||||
Reference in New Issue
Block a user