DiSSCo / openDS

The home of the open Digital Specimen (openDS) specification
Apache License 2.0
17 stars 9 forks source link

Run as nonroot #73

Closed southeo closed 10 months ago

southeo commented 10 months ago

Run nginx as nonroot, using nginx/unprivledged

From documentation:

This repo contains a series of Dockerfiles to create an NGINX Docker image that runs NGINX as a non root, unprivileged user

I'm not sure how this will interact with the deployment's "run as nonroot" directive. We may need to remove that line in the deployment if we get issues.

Change in nginx.conf is a fix to allow the unprivledged container to run (docker hub describes the fix)