[odrs-web/oscp] Working sed calls



commit fa05dcc8dd7af7405434a01f8cac08699a9cf2d7
Author: Andrea Veri <averi redhat com>
Date:   Mon Nov 12 20:52:12 2018 +0100

    Working sed calls

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index af3f62f..fb66cd8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,8 +22,8 @@ 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 's/<VirtualHost/#<VirtualHost/' /etc/apache2/conf.d/ssl.conf  
+RUN sed -i 's/<\/VirtualHost/\#<\/VirtualHost/' /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


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