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
When linting a Dockerfile that has an apt-get install command I get the error 77783205-c4ca-4f80-bb80-c777f267c547 # APT-GET Missing '-y' To Avoid Manual Input. This is a false positive when using apt-get --quiet --quiet install sl or apt-get --yes install sl
Expected Behavior
No error is shown when using apt get --quiet --quiet as it implies -y/--yes
No error is shown when using apt get --yes which is the long form of -y
Actual Behavior
[Severity: LOW, Query description: Check if apt-get calls use the flag -y to avoid user manual input.] Problem found on 'docker/local-toolbox/Dockerfile_test' file in line 2. Expected value: {{RUN apt-get --yes install sl}} sould avoid manual input. Actual value: {{RUN apt-get --yes install sl}} doesn't avoid manual input.
The text was updated successfully, but these errors were encountered:
SpikePy
changed the title
bug(Dockerfile): APT-GET Missing '-y' To Avoid Manual Input`
bug(Dockerfile): apt-get Missing '-y' To Avoid Manual Input`
May 14, 2024
gabriel-cx
changed the title
bug(Dockerfile): apt-get Missing '-y' To Avoid Manual Input`
bug(dockerfile): apt-get Missing '-y' To Avoid Manual Input`
May 14, 2024
We have merged the PR that addresses the false positive issue you reported. This should resolve the problem as described. However, if you encounter any further issues, please feel free to re-open this issue or create a new one if necessary.
When linting a Dockerfile that has an
apt-get install
command I get the error77783205-c4ca-4f80-bb80-c777f267c547 # APT-GET Missing '-y' To Avoid Manual Input
. This is a false positive when usingapt-get --quiet --quiet install sl
orapt-get --yes install sl
Expected Behavior
apt get --quiet --quiet
as it implies-y
/--yes
apt get --yes
which is the long form of-y
Actual Behavior
The text was updated successfully, but these errors were encountered: