hadolint 1.6.4
Closes #26933. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
8cebf8fbbd
commit
96d61cfa7e
1 changed files with 7 additions and 2 deletions
|
@ -5,8 +5,8 @@ class Hadolint < Formula
|
||||||
|
|
||||||
desc "Smarter Dockerfile linter to validate best practices"
|
desc "Smarter Dockerfile linter to validate best practices"
|
||||||
homepage "https://github.com/hadolint/hadolint"
|
homepage "https://github.com/hadolint/hadolint"
|
||||||
url "https://github.com/hadolint/hadolint/archive/v1.6.3.tar.gz"
|
url "https://github.com/hadolint/hadolint/archive/v1.6.4.tar.gz"
|
||||||
sha256 "b41ab0f46289658031c960e921db53dcdfa909c7e94fac2504126defc96ed5e9"
|
sha256 "add1d0f1cb1cf18721c6d29add59501545dfe7f5d3d847b6899a114140dfe136"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any_skip_relocation
|
cellar :any_skip_relocation
|
||||||
|
@ -19,6 +19,11 @@ class Hadolint < Formula
|
||||||
depends_on "ghc@8.2" => :build
|
depends_on "ghc@8.2" => :build
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
# Fix "The constructor 'PortRange' should have 3 arguments, but has been given 2"
|
||||||
|
# Upstream issue from 22 Apr 2018 https://github.com/hadolint/hadolint/issues/195
|
||||||
|
inreplace "package.yaml", "language-docker >=3.0.0",
|
||||||
|
"language-docker ==3.0.1"
|
||||||
|
|
||||||
cabal_sandbox do
|
cabal_sandbox do
|
||||||
cabal_install "hpack"
|
cabal_install "hpack"
|
||||||
system "./.cabal-sandbox/bin/hpack"
|
system "./.cabal-sandbox/bin/hpack"
|
||||||
|
|
Loading…
Reference in a new issue