Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664864

Summary: dev-util/hadolint errors when dockerfile is piped in "hFileSize: inappropriate type (not a regular file)"
Product: Gentoo Linux Reporter: Eric Timmons <gentoo-bugs>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2019-10-11   
Attachments: emerge --info

Description Eric Timmons 2018-08-29 21:02:36 UTC
Created attachment 545482 [details]
emerge --info

When using dev-haskell/hadolint, it errors out if the Dockerfile to lint is piped in. Observed on 1.7.4 and 1.10.4. When tested on static binary released by upstream there is no error so it's likely Gentoo related.

To reproduce, run:

echo "FROM ubuntu" | hadolint -

The gentoo built versions print:

hadolint: /dev/stdin: hFileSize: inappropriate type (not a regular file)

The version from upstream prints:

/dev/stdin:1 DL3006 Always tag the version of an image explicitly
Comment 1 Eric Timmons 2018-08-29 21:03:51 UTC
Sorry, meant dev-util/hadolint
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 15:07:56 UTC
Package removed.