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

build: switch to scratch image #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aschaber1
Copy link

@aschaber1 aschaber1 commented Sep 25, 2023

Description of your changes

Switched the base image from alpine to scratch reducing the image size and potential issues with dependency maintenance.

$ podman image ls terraform-docs
localhost/terraform-docs  scratch     c091ac42b71f  5 minutes ago   20.2 MB
localhost/terraform-docs  master      126a7fcbb8a6  10 minutes ago  25.7 MB

I have:

How has this code been tested

I used Podman to run container locally: podman run --volume $PWD:/terraform-docs terraform-docs:latest markdown /terraform-docs and it worked seamlessly.

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.

None yet

1 participant