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.
To Reproduce
Steps to reproduce the behavior:
Create Dockerfile with contents listed below
Observe errors messages from the extensions that read hadolint: Cannot read properties of undefined (reading 'length')
Dockerfile:
FROM debian:bullseye
RUN cat /etc/os-release | \
grep debian
Expected behaviour
Linter should produce the following output (which corresponds to the output when running the linter on CLI):
Dockerfile:3 DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Dockerfile:3 SC2002 style: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
Screenshots or Dockerfile
Not applicable.
Environment and version (please complete the following information):
The other concern would be whether we will be able to actually get the pull request merged and the extension updated, since @michaellzc does not seem to be actively watching over this repo at the moment.
The other concern would be whether we will be able to actually get the pull request merged and the extension updated, since @michaellzc does not seem to be actively watching over this repo at the moment.
hey, I have not been closely keeping a tab on this project, largely due to a lack of personal need for hadolint anymore.
If there is any proposed fix, I am happy to review this. If you don't get any reply, please hit me up at [email protected]. Also, I would love to add those who have more bandwidth and interest in this plugin as maintainers to this repo.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Dockerfile
with contents listed belowhadolint: Cannot read properties of undefined (reading 'length')
Dockerfile:
Expected behaviour
Linter should produce the following output (which corresponds to the output when running the linter on CLI):
Screenshots or Dockerfile
Not applicable.
Environment and version (please complete the following information):
Haskell Dockerfile Linter 2.12.0
5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
)Debug information
Additional context
None
The text was updated successfully, but these errors were encountered: