CKV_DOCKER_1
Best practice
Informational
Ensure port 22 is not exposed
Check your Docker files code using Codiga. The Codiga Static Code Analysis engine flags potential issues that may cause security issues or just declarations that do not follow best practices.
Ensure port 22 is not exposed
Ensure that HEALTHCHECK instructions have been added to container images
Ensure that a user for the container has been created
Ensure that COPY is used instead of ADD in Dockerfiles
Ensure update instructions are not use alone in the Dockerfile
Ensure that LABEL maintainer is used instead of MAINTAINER (deprecated)
Ensure the base image uses a non latest version tag
Ensure the last USER is not root
Ensure that WORKDIR values are absolute paths
Ensure that APT isn’t used