michalklempa / docker-nifi-registry

Unofficial Docker Image For NiFi Registry
Apache License 2.0
25 stars 13 forks source link

Consider using gosu or su-exec to specify UID:GID in runtime not build time #13

Open michalklempa opened 5 years ago

michalklempa commented 5 years ago

https://github.com/tianon/gosu/blob/master/INSTALL.md

michalklempa commented 5 years ago

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

michalklempa commented 5 years ago

https://github.com/docker-library/mongo/blob/36a011c5f198ad05c47310284795ad029d8340ba/4.0/Dockerfile#L14

michalklempa commented 5 years ago

https://github.com/docker-library/mongo/blob/36a011c5f198ad05c47310284795ad029d8340ba/4.0/docker-entrypoint.sh#L12

michalklempa commented 5 years ago

https://medium.com/@mccode/processes-in-containers-should-not-run-as-root-2feae3f0df3b