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

Add example Wolfi Dockerfiles #2438

Merged
merged 2 commits into from
May 1, 2023
Merged

Conversation

amouat
Copy link
Contributor

@amouat amouat commented Apr 28, 2023

Hey, I think I owe you this from a while back.

Here's a PR with wolfi versions of the Dockerfiles. Dockerfile.wolfi is a straight port from the regular Dockerfile. Dockerfile.wolfi-ci is a straight port of Dockerfile.ci. You should find the wolfi images have less vulns, though there does seem to be a couple from the infracost libs and also some from libssl (which seems to be an issue with our openssh-client package that I'm currently investigating). (turns out the libssl vuln was my fault for building with a slightly old version of wolfi-base)

Dockerfile.wolfi-latest is a bit more interesting - it only includes the latest versions of terraform and terragrunt (I did notice the versions specified in the Dockerfile are pretty out-of-date). This cuts the image down to 220MB and probably works for the majority of your users - it might be worth offering as an alternative image?

Anyway, thought you might find it interesting!

Signed-off-by: Adrian Mouat <adrian@chainguard.dev>
Signed-off-by: Adrian Mouat <adrian@chainguard.dev>
@CLAassistant
Copy link

CLAassistant commented Apr 28, 2023

CLA assistant check
All committers have signed the CLA.

@aliscott aliscott self-assigned this May 1, 2023
@aliscott aliscott self-requested a review May 1, 2023 08:36
@aliscott aliscott merged commit 9f89918 into infracost:master May 1, 2023
10 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.

None yet

3 participants