diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-01 19:30:54 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-01 19:30:54 +0200 |
commit | 79c76eaef5039276bb3a8725ac8c9f05f89ef0de (patch) | |
tree | 1bde68d36ce44d75fafc6dfb41f5f6d2b555815f /adei/scripts/configure.sh | |
parent | bc1b77dc912adfd040d432972e2d3256c9ea2065 (diff) | |
download | adei-79c76eaef5039276bb3a8725ac8c9f05f89ef0de.tar.gz adei-79c76eaef5039276bb3a8725ac8c9f05f89ef0de.tar.bz2 adei-79c76eaef5039276bb3a8725ac8c9f05f89ef0de.tar.xz adei-79c76eaef5039276bb3a8725ac8c9f05f89ef0de.zip |
Optimize Dockerfile
Diffstat (limited to 'adei/scripts/configure.sh')
-rwxr-xr-x | adei/scripts/configure.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/adei/scripts/configure.sh b/adei/scripts/configure.sh deleted file mode 100755 index 458c3dc..0000000 --- a/adei/scripts/configure.sh +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/bash - -chmod 0777 /adei/tmp - -sed -i'' -re 's/^.*pam_loginuid\.so.*$//' /etc/pam.d/crond - -sed -i'' -re 's/APACHE_MODULES="(.*)"/APACHE_MODULES="\1 php5 rewrite proxy mod_proxy_http access_compat"/' /etc/sysconfig/apache2 -sed -i'' -rf /opt/scripts/override.sed /etc/apache2/default-server.conf -sed -i'' -re 's/short_open_tag\s*=.*/short_open_tag = On/' /etc/php5/apache2/php.ini -sed -i'' -re 's@session.save_path\s*=.*@session.save_path=/tmp@' /etc/php5/apache2/php.ini - -# Docker allows to view stdout/stderr streams individually, but OpenShift not. So we skip CustomLog for now -# Redirection fails here. So lets keep logging to stdout for now. -sed -i'' -re 's@^ErrorLog .*@ErrorLog "|/usr/bin/tee -a /var/log/apache2/error_log"@' /etc/apache2/httpd.conf |