[gimp-web/oscp] chown has to run against the whole src dir



commit 56443ec54ac864c4f28aafecbd0c95e721c3cdfe
Author: Andrea Veri <averi redhat com>
Date:   Fri Mar 13 17:35:19 2020 +0100

    chown has to run against the whole src dir

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 5117b974..c4812a38 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,9 +7,9 @@ RUN yum install -y python2-pip git
 RUN git clone https://gitlab.gnome.org/Infrastructure/gimp-web.git /tmp/gimp-web && \
     cd /tmp/gimp-web && pip install -r py2-requirements.txt && \
     pelican content -o /opt/app-root/src/html -s pelicanconf.py && \
-    chown -R 1000580000:1000580000 /opt/app-root/src/html
+    chown -R 1000580000:1000580000 /opt/app-root/src
 
 EXPOSE 8080
 
-USER 1000580000 
+USER 1000580000
 ENTRYPOINT ["/usr/bin/run-httpd"]


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