Closed voima-eetu closed 3 years ago
Hello @voima-eetu,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook
Hate to be that guy but: Any updates on these(this and https://github.com/mattermost/mattermost-docker/pull/526)? @jfrerich @cpanato
By the way, as this was my first merged PR to any mattermost repo, is it possible to get the famous Limited Edition Mattermost Mug ? :slightly_smiling_face: @emilyacook
Summary
Hardening for production environments. According to 'OWASP Docker Security Cheat Sheet' Docker container should be configured with unprivileged user. In addition nginx container is hardened by dropping all capabilities.
The most secure setup is to drop all capabilities --cap-drop all
Changes:
nginx:mainline-alpine
->nginxinc/nginx-unprivileged:mainline-alpine