This is an automated email from the ASF dual-hosted git repository.
willholley pushed a commit to branch custom_uid
in repository https://gitbox.apache.org/repos/asf/couchdb-docker.git
The following commit(s) were added to refs/heads/custom_uid by this push:
new 8902f0f fixup! allow running as arbitrary uid
8902f0f is described below
commit 8902f0fb7d611d4cbdee11a00394326d90ee712b
Author: Will Holley <[email protected]>
AuthorDate: Tue Aug 13 12:47:10 2019 +0100
fixup! allow running as arbitrary uid
---
2.3.1/Dockerfile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/2.3.1/Dockerfile b/2.3.1/Dockerfile
index 83eae40..6bf1eab 100644
--- a/2.3.1/Dockerfile
+++ b/2.3.1/Dockerfile
@@ -121,9 +121,8 @@ COPY docker-entrypoint.sh /usr/local/bin
RUN ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards
compat
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
-# Setup directories and permissions
-RUN find /opt/couchdb \! \( -user couchdb -group couchdb \) -exec chmod 777
'{}' +; \
- chmod -R 777 /opt/couchdb/etc;
+# Setup directories and permissions for config
+RUN chmod -R 777 /opt/couchdb/etc;
VOLUME /opt/couchdb/data