diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-04-10 19:09:06 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-04-10 19:09:06 +0300 |
commit | 82cbbf31eddf961c7beab20cc7098bf6a398dfc8 (patch) | |
tree | 2d80e49fa8aeca490b4306c649f53c46c21a0312 /user_saml_shibboleth-php7.2 | |
parent | a6f849a5cd97229645bf8eb07e6d4d153b3f77b6 (diff) |
get rid of some warningsuser_saml_shibboleth_php7.2-1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'user_saml_shibboleth-php7.2')
-rwxr-xr-x | user_saml_shibboleth-php7.2/Dockerfile | 2 | ||||
-rw-r--r-- | user_saml_shibboleth-php7.2/start.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/user_saml_shibboleth-php7.2/Dockerfile b/user_saml_shibboleth-php7.2/Dockerfile index a35ca1b..60dd3fe 100755 --- a/user_saml_shibboleth-php7.2/Dockerfile +++ b/user_saml_shibboleth-php7.2/Dockerfile @@ -21,11 +21,13 @@ RUN rm /*.ldif # Install Apache and PHP 7.2 for Nextcloud RUN yum -y install centos-release-scl RUN yum -y install rh-php72 rh-php72-php rh-php72-php-gd rh-php72-php-mbstring rh-php72-php-sqlite httpd git rh-php72-mcrypt rh-php72-php-pdo sudo +RUN sed -i "s/128M/512M/" /etc/opt/rh/rh-php72/php.ini RUN source scl_source enable rh-php72 RUN chmod -R 777 /opt/ RUN rm -f /etc/httpd/conf.d/nss.conf ADD apache/httpd.conf /etc/httpd/conf/httpd.conf + # Add the startup file ADD start.sh /start.sh RUN chmod a+x /start.sh diff --git a/user_saml_shibboleth-php7.2/start.sh b/user_saml_shibboleth-php7.2/start.sh index acce505..7420a45 100644 --- a/user_saml_shibboleth-php7.2/start.sh +++ b/user_saml_shibboleth-php7.2/start.sh @@ -15,6 +15,6 @@ fi export JETTY_ARGS="jetty.sslContext.keyStorePassword=$JETTY_BROWSER_SSL_KEYSTORE_PASSWORD jetty.backchannel.sslContext.keyStorePassword=$JETTY_BACKCHANNEL_SSL_KEYSTORE_PASSWORD" sed -i "s/^-Xmx.*$/-Xmx$JETTY_MAX_HEAP/g" /opt/shib-jetty-base/start.ini -apachectl -k start & +apachectl & /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-dir & /etc/init.d/jetty run & |