CICD-117 · Pull a base update in the lab
Encyclopedia · Docker image building · All snippets
Previous · CICD-116 · Next · CICD-118
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites Docker Engine or BuildKit on a trusted lab runner.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
docker build --pull -t web:base-refresh .3. How it works
Docker sends the selected context to the builder. The Dockerfile instructions and ignore rules determine what reaches the resulting image.
4. Verify the result
Test the newly resolved base and promote the verified digest through a controlled change.
Validation syntax-validated (Bash parse). Status definitions.