We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running hadolint against this Dockerfile should report SC2086
FROM debian:10.0 ARG FOO RUN python foo.py --foo $FOO
SC2086 doesn't get reported
Output of hadolint --version :
hadolint --version
Installed via nix-shell
$ hadolint --version Haskell Dockerfile Linter 2.12.0
Dockerfile (if relevant)
Additional environment details (OS, stack version, etc.)
shellcheck's online playground reports SC2086 when you enter a similar script
#!/bin/sh FOO= python foo.py --foo $FOO
Removing ARG makes hadolint report SC2086
ARG
FROM debian:10.0 as debian RUN python foo.py --foo $FOO
$ hadolint Dockerfile Dockerfile:2 SC2086 info: Double quote to prevent globbing and word splitting.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
Running hadolint against this Dockerfile should report SC2086
Actual behavior
SC2086 doesn't get reported
Steps to reproduce the behavior
Output of
hadolint --version
:Installed via nix-shell
Dockerfile (if relevant)
Additional environment details (OS, stack version, etc.)
shellcheck's online playground reports SC2086 when you enter a similar script
Removing
ARG
makes hadolint report SC2086The text was updated successfully, but these errors were encountered: