summaryrefslogtreecommitdiffstats
path: root/adei/scripts/configure.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-01 19:30:54 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-01 19:30:54 +0200
commit79c76eaef5039276bb3a8725ac8c9f05f89ef0de (patch)
tree1bde68d36ce44d75fafc6dfb41f5f6d2b555815f /adei/scripts/configure.sh
parentbc1b77dc912adfd040d432972e2d3256c9ea2065 (diff)
downloadadei-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-xadei/scripts/configure.sh14
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