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

Dockerfile workflow #57

Open
ianlewis opened this issue May 18, 2022 · 7 comments
Open

Dockerfile workflow #57

ianlewis opened this issue May 18, 2022 · 7 comments
Labels
area:dockerfile Issue with the Dockerfile builder workflow(s) type:feature New feature or request

Comments

@ianlewis
Copy link
Member

We can provide a builder which builds a Docker image based on a Dockerfile as the build artifact and generate SLSA provenance for it.

@ianlewis ianlewis added type:feature New feature or request area:dockerfile Issue with the Dockerfile builder workflow(s) labels May 18, 2022
@ianlewis
Copy link
Member Author

A good point of comparison would be the docker actions for building and pushing images. They use buildx in their case and support building for different architectures using qemu.
https://github.com/marketplace/actions/build-and-push-docker-images

@chipzoller
Copy link
Contributor

Generating a provenance based off a Dockerfile is a great start. You may also want to see how the same could be done for builds using tools like ko and buildpacks. These are both very popular alternatives to managing Dockerfiles.

@ianlewis
Copy link
Member Author

For sure. I think @laurentsimon shared https://github.com/laurentsimon/slsa-github-generator-ko with you on slack maybe, but the idea is we will eventually merge that workflow here as well.

Buildpacks is a good idea but I think getting provenance generation for simple Dockerfiles working is probably a higher priority for now. We're happy to take issues and contributions if folks want to take on specific workflows or features.

@ianlewis ianlewis changed the title Docker workflow Dockerfile workflow Jun 30, 2022
@ianlewis ianlewis added this to the Dockerfile builder milestone Sep 13, 2022
@tahirraza
Copy link

This sounds like it can be a very useful workflow. Any progress on it? Doesn't look like it has been picked yet.

@rbehjati
Copy link
Contributor

rbehjati commented Nov 7, 2022

This sounds like it can be a very useful workflow. Any progress on it? Doesn't look like it has been picked yet.

Here is the top-level tracking issue: project-oak/transparent-release#145
We hope to have an initial version by the end of Q4'22.

@raoganeshr
Copy link

Is this done?

@laurentsimon
Copy link
Collaborator

It is not. @ianlewis started it but it's not complete yet. Maybe in the meantime you could use:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dockerfile Issue with the Dockerfile builder workflow(s) type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants