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

Feature/chiselled distroless image #152

Draft
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

endersonmaia
Copy link
Contributor

@endersonmaia endersonmaia commented Sep 9, 2024

With this approach, we get a smaller image with less binaries but we may lose the reproducibility, since chisel doesn't support version pinning.

There's an open discussion about supporting --snapshot for chisel.

I also had to maintain a branch on a cartesi fork for the chisel-relasess so that we can install busybox-static.

I also had to enforce the target platform for the CI since when using FROM --platform=linux/riscv64 scratch the final image doesn't respects this argument (a possible bug for docker build). Because of that, locally a cartesi build might fail, this is being worked on cartesi CLI.

That's why this PR is on draft.

Replaces: #143
Closes: #142

@endersonmaia endersonmaia self-assigned this Sep 9, 2024
Copy link

vercel bot commented Sep 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bug-buster ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 7:09pm

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.

Build the bugbuster image using a distroless approach
1 participant