Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Check | |
|
type Rule = Dockerfile -> [Check] Source #
mapInstructions :: Metadata -> (Instruction -> Bool) -> Rule Source #
instructionRule :: String -> Severity -> String -> (Instruction -> Bool) -> Rule Source #
dockerfileRule :: String -> Severity -> String -> ([Instruction] -> Bool) -> Rule Source #
commentMetadata :: Comment -> Metadata Source #
shellcheckBash :: Dockerfile -> [Check] Source #
bashCommands :: [String] -> [[String]] Source #
hasMaintainer :: Rule Source #
multipleCmds :: Rule Source #
wgetOrCurl :: Rule Source #
invalidCmd :: Rule Source #
noRootUser :: Rule Source #
noUntagged :: Rule Source #
noLatestTag :: Rule Source #
aptGetPackages :: [String] -> [String] Source #
aptGetCleanup :: Rule Source #
invalidPort :: Rule Source #
isAptGetInstall :: [[Char]] -> Bool Source #