mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-27 05:35:03 -05:00
[GH-ISSUE #522] Interested in a linting task for the various Dockerfiles in this repo? #13119
Reference in New Issue
Block a user
Originally created by @fbartels on GitHub (Jul 3, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/522
Hi,
I have just run hadolint ontop of the latest pr for updating the Dockerfiles and it prints out the following:
Quite a lot of this is duplicate and not all recommendations really need to be followed (pinning exact package version imho just makes sense if you want to spent resources on constantly updating your dockerfiles).
If you like I could add hadolint as a step to the travis.yml and also work a bit on resolving these warnings.
@dani-garcia commented on GitHub (Jul 3, 2019):
Well my knowledge of docker is quite simple so I'm going to assume whoever made that tool knows more than me lol. So yeah, feel free to modify the dockerfiles to reduce the warnings!
I won't mind having this step integrated in CI, but it's not like these files get modified often at all, so maybe it's not worth the effort.
@fbartels commented on GitHub (Jul 4, 2019):
OK, will likely look into this over the weekend.
@mprasil commented on GitHub (Jul 7, 2019):
I think we can close this and continue discussion in #525