Skip to content

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

Merged
lorenzo merged 1 commit intohadolint:masterfrom
stek29:fix-562-DL3005
Apr 9, 2021
Merged

DL3005: allow apt-get upgrade (fix #562)#596
lorenzo merged 1 commit intohadolint:masterfrom
stek29:fix-562-DL3005

Conversation

@stek29
Copy link
Copy Markdown
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
Copy Markdown
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