hadolint/hadolint
View on GitHubCheck if an SSH server has been installed or specified as the containers entry point
Open
#451 opened on Jul 22, 2020
enhancementhelp wanted
Repository metrics
- Stars
- (12,138 stars)
- PR merge metrics
- (Avg merge 5d 13h) (8 merged PRs in 30d)
Description
- This is a bug report
- This is a feature request
- I searched existing issues before opening this one
Expected behavior
Running SSH in a container is a security risk and having hadolint catch occurrences of this in dockerfiles would be a beneficial feature. This could be done by either checking for mentions of ssh or openssh being added as a package or mentions of ssh or openssh being used as container entry points.