Skip to content

Releases: hadolint/hadolint

v1.2.5

04 Jan 20:34
214bd01
Compare
Choose a tag to compare

For user

  • Correctly parsing virtually any dockerfile

For developer

  • Used new lts-10.0 stack
  • Upgraded the ShellCheck version to 0.4.7
  • Using the separate language-docker library as the dockerfile parser
  • Renamed the type Check to RuleCheck

v1.2.4

17 Dec 21:39
ae5076a
Compare
Choose a tag to compare

For user

  • Added Alpine apk support #134
  • Added support for -qq option in apt-get #138
  • Added fallback version if binary is compiled without git (brew installation) #136
  • Added Hadolint Integrations page for Travis and editors #129
  • Improvements in the project README thanks to @proinsias #130 and @samiralajmovic #128
  • Fixed ENV parameters separated by multiple spaces causing parse error #50 in #127

For developer

  • Seperated parsing and used the language-docker package
  • Used new lts-9.18 stack
  • Linted all haskell fles using hindent

v1.2.3

05 Dec 21:27
7df5f1c
Compare
Choose a tag to compare

For user

  • Remove deprecated MAINTAINER and set error for it (fixes #71)
  • Catch missing arg in COPY (fixes #56)
  • Catch missing arg in EXPOSE (fixes #56)
  • Exit with error if no Dockerfile is provided or Dockerfile cannot be parsed (fixes #95)
  • Accept pip install pinning with --user or --disable-pip-version-check or --no-cache-dir (fixes #67, #115 )
  • Output of --version now show version as git describe (fixes #86)
  • Check for latest tag in named image in FROM (fixes #108)
  • Check for root defined as UID 0 or root with group (fixes #109)
  • Support for npm version pinning in DL3016
  • Reduced size of release binaries #117
  • Reduced size of docker image to 5 MB #97

For developer

  • Update stack from lts-5.9 to lts-9.14
  • Update ShellCheck-0.4.4 to ShellCheck-0.4.6
  • Multistage build of Docker image to minimalize size #97
  • Compile static binaries for Linux and Windows #100
  • Travis now test build with lts-9.14, the latest LTS and nightly (which is allowed to fail) stack #102

v1.2.3-rc1

02 Dec 19:28
75dbd11
Compare
Choose a tag to compare
v1.2.3-rc1 Pre-release
Pre-release

For user

  • Remove deprecated MAINTAINER and set error for it (fixes #71)
  • Catch missing arg in COPY (fixes #56)
  • Catch missing arg in EXPOSE (fixes #56)
  • Exit with error if no Dockerfile is provided or Dockerfile cannot be parsed (fixes #95)
  • Accept pip install pinning with --user or --disable-pip-version-check or --no-cache-dir (fixes #67, #115 )
  • Output of --version now show version as git describe (fixes #86)
  • Check for latest tag in named image in FROM (fixes #108)
  • Check for root defined as UID 0 or root with group (fixes #109)
  • Support for npm version pinning in DL3016
  • Reduced size of release binaries #117

For developer

  • Update stack from lts-5.9 to lts-9.14
  • Update ShellCheck-0.4.4 to ShellCheck-0.4.6
  • Multistage build of Docker image to minimalize size
  • Compile static binaries for Linux and Windows
  • Travis now test build with lts-9.14, the latest LTS and nightly (which is allowed to fail) stack #102

v1.2.2

08 Dec 12:43
Compare
Choose a tag to compare

Implemented enhancements:

  • Rule suggestion: Recommend SHELL \["/bin/bash", "-c"\] instead of RUN /bin/bash -c "..." #58
  • two forms of output #57
  • Issue 68: Add supported file suffixes for DL3020 #69 (j3p0uk)
  • Unified error formatting #66 (lukasmartinelli)
  • Parse HEALTHCHECK #65 (lukasmartinelli)
  • Add "use SHELL" rule for ln with /bin/sh #61 (backus)
  • Add support for parsing SHELL instruction #60 (backus)

Fixed bugs:

Closed issues:

  • Support HEALTHCHECK instruction #62

v1.2.1

19 Aug 15:47
Compare
Choose a tag to compare
  • Ensure works with homebrew #52

v1.2

18 Aug 20:19
Compare
Choose a tag to compare
  • Add missing --version flag
  • Support multiple Docker files
  • Remove yet unsupported --json flag

Thanks @ye for the suggestions.

v1.1

18 Aug 18:28
Compare
Choose a tag to compare

Implemented enhancements:

Fixed bugs:

  • DL3013 rule pip version pinning does not catch pip3 lines #48
  • PIP pinning failures #36
  • Add more archive suffixes for add vs copy check #34
  • Parsing fails when environment variables are set as "ENV " #22
  • Parse fails with multiline comments #21
  • Parsing fails when there is a newline in ENV #7
  • Add more archive types #34 #47 (lukasmartinelli)
  • Fix pip pinning #46 (lukasmartinelli)

Merged pull requests:

v1.0

03 Apr 16:48
Compare
Choose a tag to compare

A smarter Dockerfile linter that helps you build best practice Docker images. The linter is parsing the Dockerfile into an AST and performs rules on top of the AST. It is standing on the shoulders of Shellcheck to lint the Bash code inside RUN instructions.