You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
I use hadolint via a bash script that runs hadolint in a docker container and it is located inside my repository
Therefore I have my settings.json file set as "hadolint.hadolintPath": "${workspaceFolder}/scripts/hadolint.bash"
Then I get the error hadolint: Cannot find adolint from system $PATH, ....
If I set an absolute path in "hadolint.hadolintPath": "/the/path/to/scripts/hadolint.bash" then it works.
but that is very annoying for sharing the directory of course. To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behaviour
using ${workspaceFolder} should resolve
Environment and version (please complete the following information):
hadolint: <replace with output of hadolint --version>
OS: <windows, macOS, linux, etc>. Please be specific, for Windows you may include build number, for Linux you may include distribution name.
ubuntu 22.04, latest vscode, latest hadolint/hadolint docker image
The text was updated successfully, but these errors were encountered:
Hi! I'm getting the same error, although my use case is different.
Hadolint is installed as a binary in my devcontainer, and it's available in the PATH. I'm using the ${workspaceFolder} variable as part of the path to a workspace-specific Hadolint configuration. My configuration for the exiasr.hadolint extension is as follows:
Describe the bug
A clear and concise description of what the bug is.
I use hadolint via a bash script that runs hadolint in a docker container and it is located inside my repository
Therefore I have my
settings.json
file set as"hadolint.hadolintPath": "${workspaceFolder}/scripts/hadolint.bash"
Then I get the error
hadolint: Cannot find adolint from system $PATH, ...
.If I set an absolute path in
"hadolint.hadolintPath": "/the/path/to/scripts/hadolint.bash"
then it works.but that is very annoying for sharing the directory of course.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
using ${workspaceFolder} should resolve
Environment and version (please complete the following information):
hadolint --version
>ubuntu 22.04, latest vscode, latest hadolint/hadolint docker image
The text was updated successfully, but these errors were encountered: