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: use scratch base for docker image #197

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

s-diez
Copy link
Contributor

@s-diez s-diez commented Jan 26, 2024

Hi,

We built and pushed the image into our own registry. Where our trivy scanner discovered and complained about multiple CVEs. As is common with go binaries we can just use an image from scratch with just the binary and configuration files. This results in an image of about 8mb instead of 35mb and base image vulnerabilites or updates no longer exist.

@till
Copy link
Contributor

till commented Mar 8, 2024

@s-diez let's try this!

@till till merged commit 21a7bda into Luzilla:main Mar 8, 2024
5 of 6 checks passed
@till till mentioned this pull request Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants