Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664864 - dev-util/hadolint errors when dockerfile is piped in "hFileSize: inappropriate type (not a regular file)"
Summary: dev-util/hadolint errors when dockerfile is piped in "hFileSize: inappropriat...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-10-11
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PMASKED
Depends on:
Reported: 2018-08-29 21:02 UTC by Eric Timmons
Modified: 2019-10-11 15:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (emerge-info.txt,19.21 KB, text/plain)
2018-08-29 21:02 UTC, Eric Timmons

Note You need to log in before you can comment on or make changes to this bug.
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.