Skip to content

added vulnerable dockerfile#4

Open
holdenmcg wants to merge 1 commit into
circleci-project-setupfrom
hm/circleci-pr-demo-2
Open

added vulnerable dockerfile#4
holdenmcg wants to merge 1 commit into
circleci-project-setupfrom
hm/circleci-pr-demo-2

Conversation

@holdenmcg

Copy link
Copy Markdown
Owner

No description provided.

@semgrep-app

semgrep-app Bot commented Mar 15, 2022

Copy link
Copy Markdown

Semgrep found 6 dockerfile-should-pin-to-hash findings:

Images referenced from a Dockerfile FROM should always be pinned to an
exact SHA-256 hash. This gives us confidence that builds are repeatable
and changes to base images are always obvious in CI. This is essentially
Docker's equivalent of a "lockfile".

To fix, run docker pull $IMG:$TAG, then change FROM $IMG:$TAG to
FROM $IMG:$TAG@sha256[...] based on the current SHA-256 hash.

⚪️ This finding does not block your pull request.
🙈 From dockerfile-should-pin-to-hash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant