Commit e6ec2eee authored by René Jochum's avatar René Jochum
Browse files

1.4.11-apache-r3


Signed-off-by: default avatarRené Jochum <rene@jochum.dev>
parent a3407abe
FROM registry.jochum.dev/roundcube/roundcubemail:1.4.8-apache
FROM roundcube/roundcubemail:1.4.11-apache
LABEL maintainer="René Jochum <rene@jochum.dev>"
......
......@@ -3,6 +3,15 @@
# PWD=`pwd`
if [ -z "${APT_CACHER}" ]; then
APT_CACHER="apt-cacher.apt-cacher.svc.cluster.local"
fi
nc -w1 -z ${APT_CACHER} 3142 1>/dev/null 2>&1 && \
echo 'Acquire::HTTP::Proxy "http://'${APT_CACHER}':3142";' >> /etc/apt/apt.conf.d/01proxy && \
echo 'Acquire::HTTPS::Proxy "false";' >> /etc/apt/apt.conf.d/01proxy
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
if ! [ -e index.php -a -e bin/installto.sh ]; then
echo >&2 "roundcubemail not found in $PWD - copying now..."
......@@ -72,6 +81,16 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
echo "Write config to $PWD/config/config.inc.php"
echo "<?php
\$config['imap_conn_options'] = array(
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false),
'tls' => array('verify_peer' => false, 'verify_peer_name' => false),
);
\$config['smtp_conn_options'] = array(
'ssl' => array('verify_peer' => false, 'verify_peer_name' => false),
'tls' => array('verify_peer' => false, 'verify_peer_name' => false),
);
\$config['db_dsnw'] = '${ROUNDCUBEMAIL_DSNW}';
\$config['db_dsnr'] = '${ROUNDCUBEMAIL_DSNR}';
\$config['default_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment