Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bsf dockerfile digests command #86

Merged
merged 16 commits into from
Jul 27, 2024

Conversation

hanshal101
Copy link
Contributor

Closes #79
Fixes #79

Description

This PR adds the feature of Docker Digest command
bsf docker digest <your_dockerfile>

Testing

Done on the file:

FROM ubuntu:20.04
FROM python:3.9-slim
FROM node:14

Results:

FROM ubuntu@sha256:0b897358ff6624825fb50d20ffb605ab0eaea77ced0adb8c6a4b756513dec6fc
FROM python@sha256:a6c12ec09f13df9d4b8b4e4d08678c1b212d89885be14b6c72b633bee2a520f4
FROM node@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa14

Dockerfile Outdated Show resolved Hide resolved
cmd/dockerfile/df.go Outdated Show resolved Hide resolved
cmd/dockerfile/df.go Outdated Show resolved Hide resolved
@rakshitgondwal rakshitgondwal merged commit 6e9bcb9 into buildsafedev:main Jul 27, 2024
2 checks passed
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.

bsf dockerfile digests
3 participants