Skip to content

chore: pin alpine base image to digest in Dockerfile.goreleaser #124

@michaelmcnees

Description

@michaelmcnees

Currently Dockerfile.goreleaser uses a floating tag:

FROM alpine:3.21

A floating tag means a compromised or silently-updated base image would be pulled into new release builds without any record in git history. For a publicly distributed artifact, pinning to a digest provides reproducibility and supply-chain integrity.

Change: replace alpine:3.21 with alpine:3.21@sha256:<digest> and set up Renovate (or equivalent) to keep the digest current.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions