Description
Docker resolves FROM alpine to alpine:latest when the reference has neither a tag nor a digest.
Potential impact
If that tag moves, a rebuild can introduce different libraries than the ones you tested and make deployed versions harder to track.
Remediation
Choose an explicit version for each external image in every stage. Add a verified digest when builds must use identical contents. Review security updates and refresh pinned references deliberately.
Examples
Before
dockerfile
FROM alpine
After
dockerfile
FROM alpine:3.22
alpine:3.22 selects the release series shown here. The publisher can still update that tag.