the RUN apt-cache policy cppcheckpremium | grep -q "25.3.0" line passing proves that cppcheckpremium was successfully installed, and the cppcheck --version line does the same for cppcheck. However, attempting to use the container shows issues.
Below is a demonstration of the --premium flag not being recognized.
I am having trouble Dockerizing cppcheck premium. I attempted to translate the apt instructions to a Dockerfile.
My Dockerfile is as follows:
and the docker-compose.yml:
the
RUN apt-cache policy cppcheckpremium | grep -q "25.3.0"
line passing proves that cppcheckpremium was successfully installed, and thecppcheck --version
line does the same for cppcheck. However, attempting to use the container shows issues.Below is a demonstration of the
--premium
flag not being recognized.As you can tell, both cppcheck and cppcheckpremium are installed, but the cppcheckpremium
--premium
flag is not recognized.What is the issue and how do I fix it?