[nextcloud-web] code: Run Dockerfile as root



commit 2841758e48383ed23c551a0832c6996b37f7b6a3
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Dec 29 19:08:13 2020 +0100

    code: Run Dockerfile as root

 code/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/code/Dockerfile b/code/Dockerfile
index b9f84fc..07c4d23 100644
--- a/code/Dockerfile
+++ b/code/Dockerfile
@@ -1,5 +1,7 @@
 FROM collabora/code:latest
 
+USER root
+
 RUN chmod a+w /etc/loolwsd/loolwsd.xml && \
     chmod a+w /etc/loolwsd && \
     chmod g=u /etc/passwd
@@ -10,3 +12,5 @@ RUN chown -R root:root /opt/lool /etc/loolwsd && \
 
 ADD entrypoint.sh /entrypoint
 ENTRYPOINT ["/entrypoint"]
+
+USER lool


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]