schickling / dockerfiles

Collection of lightweight and ready-to-use docker images
https://hub.docker.com/u/schickling/
MIT License
848 stars 367 forks source link

mysql-backup-s3: Container should not run as root #128

Open acim opened 4 years ago

acim commented 4 years ago

I quickly looked at Dockerfile and used scripts and I think image should container a USER directive and run as non-root user. This is a security issue and would prevent the backup from running on clusters with PodSecurityPolicy (namely OpenShift).