Package Details: hadolint 2.12.0-1

Git Clone URL: https://aur.archlinux.org/hadolint.git (read-only, click to copy)
Package Base: hadolint
Description: Dockerfile linter, validate inline bash, written in Haskell
Upstream URL: https://github.com/hadolint/hadolint/
Licenses: GPL
Conflicts: hadolint-bin, hadolint-git
Submitter: m-pilia
Maintainer: m-pilia
Last Packager: m-pilia
Votes: 2
Popularity: 0.000000
First Submitted: 2019-01-18 19:17 (UTC)
Last Updated: 2022-11-12 14:54 (UTC)

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2022-09-16 17:51 (UTC)

I think that while the package is been built should not touch any directory from ~/.stack/ (user home). Maybe I am wrong.

m-pilia commented on 2022-03-20 17:28 (UTC)

Please stop flagging the package out of date before a new release is officially created.

m-pilia commented on 2021-05-03 10:50 (UTC)

@aminvakil: Your build of hadolint is going to crash if gmp is not installed, therefore you need to list it as a dependency. It's not optional, if you don't your PKGBUILD is malformed.

Your test is not running in a clean environment, as part of your pipeline you are installing a lot of unrelated packages in the container. Try to run the executable in a system where gmp is not installed and you will see the dynamic linker error.

aminvakil commented on 2021-05-03 10:24 (UTC)

@m-pilia: I've just checked on a simple Dockerfile in a clean environment, and it's ok.

hadolint --version
curl -OL https://raw.githubusercontent.com/aminvakil/docker-squid/master/Dockerfile
hadolint Dockerfile

You can see full log here: https://github.com/aminvakil/aur/runs/2491156170?check_suite_focus=true

m-pilia commented on 2021-05-03 07:18 (UTC)

@gamezelda: Thanks for the suggestion, I was already considering building this package with dynamic linking, but I would need to double-check if and what kind of runtime dependencies that would introduce, since hadolint depends on a bunch of other Haskell libraries.

@aminvakil: If you don't use static linking you need to fix the dependencies of your package, or the application will crash when installed on a clean system.

aminvakil commented on 2021-05-02 20:52 (UTC)

@gamezelda thanks to your comment, I've tested and updated hadolint-git aur package as well.

https://aur.archlinux.org/cgit/aur.git/commit/?h=hadolint-git&id=6c3a8fd02743b98de821ac3a78a60e45f37d8e8c

gamezelda commented on 2021-05-02 14:10 (UTC)

The libgmp-static build dependency can be replaced with a runtime gmp dependency if the package is built with:

stack build hadolint --flag hadolint:-static

aminvakil commented on 2021-03-02 16:37 (UTC)

@m-pilia Thanks for fixing the package!

FWIW https://github.com/aminvakil/aurtest/runs/2014530899?check_suite_focus=true passed as well.

m-pilia commented on 2021-03-02 15:34 (UTC)

@aminvakil: No worries! :-) Found the issue thanks to the maintainer on GitHub, now hadolint needs gmp, so for a static build like this we need to add libgmp-static as a build dependency.

aminvakil commented on 2021-03-02 15:30 (UTC)

@m-pilia Sorry, I was wrong and that's why I deleted my comment, I didn't bumped the pkgver before building :)