[odrs-web/oscp] Additional permissions fixes. Move entrypoint over to	/usr/local/bin
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [odrs-web/oscp] Additional permissions fixes. Move entrypoint over to	/usr/local/bin
- Date: Mon, 12 Nov 2018 20:45:38 +0000 (UTC)
commit 1ae79a4c9c457828900e70193a333eb6f4b9dcc7
Author: Andrea Veri <averi redhat com>
Date:   Mon Nov 12 21:45:28 2018 +0100
    Additional permissions fixes. Move entrypoint over to /usr/local/bin
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index b721fd1..ea9a5ce 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,14 +29,14 @@ RUN useradd -u 1001 -g 1001 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrs
 
 RUN chown root:1000300000 /etc/apache2/conf.d && \
     chown root:1000300000 /etc/apache2/conf.d/000-default.conf && \
-    chmod 777 /var/log/apache2 && \
+    chown root:1000300000 /var/log/apache2 && chmod 775 /var/log/apache2 \
     chmod 775 /etc/apache2/conf.d && chmod 664 /etc/apache2/conf.d/000-default.conf && \
     chown -R 1001:0 ${ODRS_HOME} && \
     chmod -R 664 ${ODRS_HOME} && \
     find ${ODRS_HOME} -type d -exec chmod 775 {} +
 
-COPY entrypoint.sh /
+COPY entrypoint.sh /usr/local/bin
 EXPOSE 8443
 
 USER 1001
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["entrypoint.sh"]
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]