Skip to content

Update Dockerfile FROM command to use non-ambiguous container sources #730

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

Merged
merged 1 commit into from
May 30, 2024
Merged

Update Dockerfile FROM command to use non-ambiguous container sources #730

merged 1 commit into from
May 30, 2024

Conversation

idelsink
Copy link
Contributor

@idelsink idelsink commented Dec 19, 2023

Description of your changes

This will set a non-ambiguous container source for the Dockerfile(s) used in this project. This reduces issues when using non-docker tooling that rely on full container sources. This increases not only verbosity but it also reduces the changes of exploits as explained in the following redhat post Container image short names

See also: #641
Fixes: #641

I have:

  • Read and followed terraform-docs' [contribution process].
  • All tests pass when I run make test.

How has this code been tested

I've tested it locally by running make test and was able to build the containers myself using make docker.

@khos2ow
Copy link
Member

khos2ow commented May 27, 2024

@idelsink can you rebase once more and fix the conflicts please?

Signed-off-by: Ingmar Delsink <ingmardelsink@hotmail.com>
@idelsink
Copy link
Contributor Author

Rebased again as requested, but hopefully the last time? 😅

Copy link
Member

@khos2ow khos2ow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @idelsink !

@khos2ow khos2ow merged commit 13c83d4 into terraform-docs:master May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Reduce container image ambiguity by specifying the docker.io container registry in the Dockerfile(s)
2 participants