travelaudience / docker-nexus

A container image for Sonatype Nexus Repository Manager OSS, based on Alpine Linux.
Apache License 2.0
43 stars 43 forks source link

Add option to disable chown on start #33

Closed cmoroianu1 closed 4 years ago

cmoroianu1 commented 4 years ago

Fix for issue #32

Adds a flag to disable chown on nexus start.

Should be disabled only if you're sure that the files are owned by the correct user. Nexus will fail to start or behave problematically if it can't access the files on the filesystem.

NEXUS_DATA_CHOWN is set to true by default.

To disable it, set the environment variable to something else than true.

varditn commented 4 years ago

@cmoroianu1 I assume we tested this, so can we inform this change on https://github.com/travelaudience/docker-nexus/issues/32 ?