Skip to content

Releases: zabio3/godolint

0.0.3

25 Mar 01:28
92617b3
Compare
Choose a tag to compare

Changelog

92617b3 Merge pull request #2 from zabio3/concurrency-analyzer
b05a76c Change lint check processing to parallel processing

0.0.2

23 Mar 12:24
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release

Changelog

bb62bbf release 0.0.2
d960c92 bug-fix Correspond to remove /var/cache/apk/* when done installing packages.(dl3019)
ad06fd6 Add contributing.md
8904231 Change output format
7fa0eb5 Add makefile
cf26ccc Add codeclimate

0.0.1

17 Mar 08:20
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Changelog

Dockerfile Lint Rules

  • DL3000 : Use absolute WORKDIR.
  • DL3001 : For some bash commands it makes no sense running them in a Docker container like ssh, vim, shutdown, service, ps, free, top, kill, mount, ifconfig.
  • DL3002 : Last user should not be root.
  • DL3003 : Use WORKDIR to switch to a directory.
  • DL3004 : Do not use sudo as it leads to unpredictable behavior. Use a tool like gosu to enforce root.
  • DL3005 : Do not use apt-get upgrade or dist-upgrade.
  • DL3007 : Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag.
  • DL3006 : Always tag the version of an image explicitly.
  • DL3008 : Pin versions in apt-get install.
  • DL3009 : Delete the apt-get lists after installing something.
  • DL3010 : Use ADD for extracting archives into an image.
  • DL3011 : Valid UNIX ports range from 0 to 65535.
  • DL3012 : Provide an email address or URL as maintainer. (This rule is DEPRECATED and no longer active)
  • DL3013 : Pin versions in pip.
  • DL3014 : Use the聽-y聽switch.
  • DL3015 : Avoid additional packages by specifying --no-install-recommends.
  • DL3016 : Pin versions in聽npm.
  • DL3017 : Do not use聽apk upgrade.
  • DL3018 : Pin versions in apk add. Instead of聽apk add 聽use聽apk add =.
  • DL3019 : Use the聽--no-cache聽switch to avoid the need to use聽--update聽and remove聽/var/cache/apk/*聽when done installing packages.
  • DL3020 : Use聽COPY聽instead of聽ADD聽for files and folders.
  • DL3021 : COPY聽with more than 2 arguments requires the last argument to end with聽/
  • DL3022 : COPY --from聽should reference a previously defined聽FROM聽alias
  • DL3023 : COPY --from聽cannot reference its own聽FROM聽alias
  • DL3024 : FROM聽aliases (stage names) must be unique
  • DL3025 : Use arguments JSON notation for CMD and ENTRYPOINT arguments
  • DL4000 : MAINTAINER is deprecated.
  • DL4001 : Either use Wget or Curl but not both.
  • DL4003 : Multiple聽CMD聽instructions found.
  • DL4004 : Multiple聽ENTRYPOINT聽instructions found.
  • DL4005 : Use聽SHELL聽to change the default shell.
  • DL4006 : Set the聽SHELL聽option -o pipefail before聽RUN聽with a pipe in it