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

DL3005: allow apt-get upgrade (fix #562) #596

Merged
merged 1 commit into from Apr 9, 2021

Conversation

stek29
Copy link
Contributor

@stek29 stek29 commented Apr 9, 2021

Closes #562

What I did

Removed apt-get upgrade from DL3005, only dist-upgrade is checked

How I did it

Updated README, rule and tests for that rule

How to verify it

list a docker file with RUN apt-get update && apt-get upgrade in it

note: Wiki still has to be updated

@lorenzo
Copy link
Member

lorenzo commented Apr 9, 2021

thanks!

@lorenzo lorenzo merged commit 111158d into hadolint:master Apr 9, 2021
@stek29 stek29 deleted the fix-562-DL3005 branch April 12, 2021 16:33
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.

DL3005 is wrong: security updates should be in most Dockerfiles
2 participants