[odrs-web/oscp] Comment out all the lines we do not need. Also chown	to the user running the pod (as found on oc des
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [odrs-web/oscp] Comment out all the lines we do not need. Also chown	to the user running the pod (as found on oc des
- Date: Mon, 12 Nov 2018 20:11:59 +0000 (UTC)
commit 2f251da2b07ee1ce999e321d0532d4edd052d42a
Author: Andrea Veri <averi redhat com>
Date:   Mon Nov 12 21:11:47 2018 +0100
    Comment out all the lines we do not need. Also chown to the user running the pod (as found on oc describe 
project)
 Dockerfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index fb66cd8..b721fd1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,14 +22,13 @@ RUN sed -i 's/#LoadModule expires_module/LoadModule expires_module/' /etc/apache
 RUN sed -i 's/CustomLog/#CustomLog/' /etc/apache2/httpd.conf
 #RUN sed -i 's/ErrorLog/#ErrorLog/' /etc/apache2/httpd.conf
 RUN echo 'ServerName odrs.gnome.org' >> /etc/apache2/httpd.conf
-RUN sed -i 's/<VirtualHost/#<VirtualHost/' /etc/apache2/conf.d/ssl.conf  
-RUN sed -i 's/<\/VirtualHost/\#<\/VirtualHost/' /etc/apache2/conf.d/ssl.conf
+RUN sed -i -e "124,300s/^/#/" /etc/apache2/conf.d/ssl.conf
 
 RUN groupadd -g 1001 odrs
 RUN useradd -u 1001 -g 1001 -d ${ODRS_HOME}/ -r -s /usr/sbin/nologin odrs
 
-RUN chown root:1001 /etc/apache2/conf.d && \
-    chown root:1001 /etc/apache2/conf.d/000-default.conf && \
+RUN chown root:1000300000 /etc/apache2/conf.d && \
+    chown root:1000300000 /etc/apache2/conf.d/000-default.conf && \
     chmod 777 /var/log/apache2 && \
     chmod 775 /etc/apache2/conf.d && chmod 664 /etc/apache2/conf.d/000-default.conf && \
     chown -R 1001:0 ${ODRS_HOME} && \
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]