Skip to content

goern/dockerfile_checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Dockerfile sanity and semantics checker. It will give hints based on best practices.

The upstream project is at https://github.com/goern/dockerfile_checker

TODO

  • DONE: check is a ssh rpm gets installed => no good

  • check if ENTRYPOINT or CMD is present

  • check if a wrapper script is used for ENTRYPOINT or CMD

  • wrapper should use exec, but we dont have the wrapper, just the Dockerfile
  • check if a user is created within the Dockerfile

  • DONE: check if ports got EXPOSEd

  • DONE: check is USER is used

About

a Dockerfile checker and commenter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%