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(HMS-3914): harden Dockerfile #45

Merged

Conversation

avisiedo
Copy link
Contributor

@avisiedo avisiedo commented Apr 11, 2024

Add default known directories to be ignored on .dockerignore that could have sensible information.

.docker, .podman and .kube.

*.log

@avisiedo avisiedo self-assigned this Apr 11, 2024
@app-sre-bot
Copy link

Can one of the admins verify this patch?

Add .podman .docker and .kube directories to .dockerignore
Add '*.log' to the ignored files.

Signed-off-by: Alejandro Visiedo <[email protected]>
@pvoborni
Copy link
Contributor

I don't know if this change can break something. It doesn't seem covered by CI tests on GitLab what would be the commands to verify it is correct?

@avisiedo
Copy link
Contributor Author

Updating PR description as it is a bit different from the initial idea.

@frasertweedale
Copy link
Contributor

yolo... if it breaks the build we revert it :)

@frasertweedale frasertweedale merged commit eec0b98 into podengo-project:main Apr 26, 2024
1 check passed
@avisiedo avisiedo deleted the hms-3914-harden-dockerfile branch April 26, 2024 10:38
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.

4 participants