Scan results · 181f52c
main · 2 critical · 14 high · 59 medium · 82 low
- low Use Absolute Path in WORKDIR Dockerfile:23
WORKDIR should use absolute paths starting with /.
- low Prefer apt-get over apt Dockerfile:26
Use apt-get instead of apt for better script stability in Dockerfiles.
- low apk add Without --no-cache Dockerfile:26
apk add without --no-cache. Package cache remains in image, increasing size by 2-5 MB.
- low Nonsensical Command Dockerfile:26
RUN command uses 'cd' which doesn't persist. Use WORKDIR instead.
- low Nonsensical Command Dockerfile:31
RUN command uses 'cd' which doesn't persist. Use WORKDIR instead.
- low Prefer apt-get over apt Dockerfile:31
Use apt-get instead of apt for better script stability in Dockerfiles.
- low pip install Without --no-cache-dir Dockerfile:31
pip install without --no-cache-dir. Pip cache remains in image, adding 50-200 MB depending on dependencies.
- low Nonsensical Command Dockerfile:38
RUN command uses 'cd' which doesn't persist. Use WORKDIR instead.
- low Prefer apt-get over apt Dockerfile:38
Use apt-get instead of apt for better script stability in Dockerfiles.
- low Prefer apt-get over apt Dockerfile:40
Use apt-get instead of apt for better script stability in Dockerfiles.
Get this for your repo.
Pathfinder runs the same scan on your own repos free. Connect via GitHub in 30 seconds.