BSD Ports

devel/hs-hadolint 2.14.0 MidnightBSD

Dockerfile linter, validate inline bash, written in Haskell

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
d969bcf84e
License
gpl3
Categories
devel, haskell

Description

hadolint is a Dockerfile linter that helps you build best practice Docker images. The linter parses the Dockerfile into an AST and performs rules on top of the AST. It stands on the shoulders of ShellCheck to lint the Bash code inside RUN instructions

In the other systems

The newest version among them is 2.14.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/hs-hadolint2.14.0 newestno data-[email protected]2026-10-02
FreeBSDdevel/hs-hadolint2.14.0_1 newestnone known-[email protected]2026-07-27
DragonFlydevel/hs-hadolint2.12.0 behind since 2026-10-02none known-[email protected]-
HardenedBSDdevel/hs-hadolint2.14.0_1 newestno data-[email protected]-
GhostBSDdevel/hs-hadolint2.14.0_1 newestno data-[email protected]-

Version history 1

  1. 2.14.0 d969bcf84e

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install hadolint

From mports:

cd /usr/mports/devel/hs-hadolint && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	hadolint>0:devel/hs-hadolint

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
cabal
Service scripts
none

Files

distinfo 130
FileSizeSHA256
cabal/hadolint-2.14.0/hadolint-2.14.0.tar.gz90618af18a1b14afdb6549ee994f3b42c524443d09feda6065c50d33e8693031a56ff
cabal/Diff-1.0.2/Diff-1.0.2.tar.gz10936cd7e26d3d5ebf7f2c1a7525aebe251fbcbffee2a6362db634b4be23b9e354d85
cabal/HsYAML-0.2.1.5/HsYAML-0.2.1.5.tar.gz84060657ac91d3314b9767cbc1ba4a218905e5f28dafb8cd5abc3b553d7248c215b8d
cabal/HsYAML-0.2.1.5/revision/1.cabal5407ca7cbb5bfdc89a9fc21e60642fafd4accf09ee489182513ae3790416147ab1d0
cabal/OneTuple-0.4.3/OneTuple-0.4.3.tar.gz5299643d1f48e63480ac6d03a8f0ab5976d66527c9b42b1fca81d1bf373d10099c6b
cabal/QuickCheck-2.16.0.0/QuickCheck-2.16.0.0.tar.gz839030b563fa6ea11653d76d57e96625f4a476e02b9fdaeba9c05d2ccc10d8da802c0
cabal/ShellCheck-0.11.0/ShellCheck-0.11.0.tar.gz23931481a72e9c195788301f38e4b2e250ab916cf3778993d428786bfb2fac2a847400
cabal/StateVar-1.2.2/StateVar-1.2.2.tar.gz50485e4b39da395656a59827b0280508aafdc70335798b50e5d6fd52596026251825
cabal/aeson-2.2.5.0/aeson-2.2.5.0.tar.gz341251e22f9883adce9e02d77de6a1bba36f2f98d322c8a9fa3bc51596d31493d00ac5
cabal/alex-3.5.4.2/alex-3.5.4.2.tar.gz94432df481dc960e2c59a30395f7335031fd4ef8773b8a42894a4f2320e00ff474418
cabal/ansi-terminal-1.1.5/ansi-terminal-1.1.5.tar.gz333449cf083cef2e2ba88a425f132c8a82bfa931eb4b0c38232b2017f8fcea2e23073
cabal/ansi-terminal-types-1.1.3/ansi-terminal-types-1.1.3.tar.gz87919fc9ce2157f1889bd99a4d22c9f1c64589590be0f797c3efe71c8fa17a11a689
cabal/assoc-1.1.1/assoc-1.1.1.tar.gz3158231149b7fef09f5dd95af51228615e3b296dbd0faadeca053e0644a4b13b0ff6
cabal/assoc-1.1.1/revision/2.cabal1437766b1040eda5255bfcf10e1a9859c06d0ed6ad0e2ac87ed915bb035574d10ae4
cabal/async-2.2.6/async-2.2.6.tar.gz18996148571bc188003101241da6c49131d07324e63a88ed283a84def2e9694599619
cabal/attoparsec-0.14.4/attoparsec-0.14.4.tar.gz1607013f337fe58624565de12426f607c23e60c7b09c86b4e3adfc827ca188c9979e6c
cabal/attoparsec-0.14.4/revision/6.cabal591435129d0ab1741f000f1a7d2fc839544919ee6fbb8f2d6e7f0a629c41f91035f3
cabal/base-compat-0.15.0/base-compat-0.15.0.tar.gz3242259aa49d7779a20a808924690583653c2bdfb0e54b5162df80df5a81632824531
cabal/base-orphans-0.9.4/base-orphans-0.9.4.tar.gz1999908cc283a31350f7bd28b2a5d31af693ee337f2593d3e7222999b72dd4954c72b
cabal/base16-bytestring-1.0.2.0/base16-bytestring-1.0.2.0.tar.gz72191d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784

Commit history 1

DateCommitCreditsLog message
d969bcf84e Lucas Holt devel/hs-hadolint: new port, hadolint 2.14.0 (#1671)
New port: hadolint 2.14.0, a Dockerfile linter (integrates ShellCheck as a library). Based on FreeBSD's devel/hs-hadolint. GHC 9.12.4 adaptations: - Removed GHC boot packages from `USE_CABAL` (Cabal, Cabal-syntax, directory, file-io, process, time, unix): built locally they collide with GHC's `-inplace` unit ids - Bounds-only patches (code compiles unchanged): hadolint.cabal `Cabal <3.15`, `time <1.15`; language-docker `time <1.15`; spdx adds `^>=3.14.2.0` to its Cabal-syntax range (upstream allows 3.10/3.12/3.16 but skips 3.14) - distinfo matches FreeBSD's except the removed entries amd64/4.0.6: build/fake/package OK, no plist problems. A sample Dockerfile triggers DL3007/DL3008/DL3014/DL3009/DL3015/DL3003 and SC2164; `--require-label ...:spdx` rejects an invalid SPDX id and …