docker-nifi-registry
docker-nifi-registry copied to clipboard
Consider using gosu or su-exec to specify UID:GID in runtime not build time
https://github.com/tianon/gosu/blob/master/INSTALL.md
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
https://github.com/docker-library/mongo/blob/36a011c5f198ad05c47310284795ad029d8340ba/4.0/Dockerfile#L14
https://github.com/docker-library/mongo/blob/36a011c5f198ad05c47310284795ad029d8340ba/4.0/docker-entrypoint.sh#L12
https://medium.com/@mccode/processes-in-containers-should-not-run-as-root-2feae3f0df3b