chore: update 1.4.11 src & pipeline
This commit is contained in:
parent
11e56162ff
commit
24cec8cab4
@ -7,7 +7,7 @@ spec:
|
|||||||
type: image
|
type: image
|
||||||
params:
|
params:
|
||||||
- name: url
|
- name: url
|
||||||
value: termas.librecloud.online/termas_librecloud/roundcubemail:1.4.6
|
value: termas.librecloud.online/termas_librecloud/roundcubemail:1.4.11
|
||||||
---
|
---
|
||||||
apiVersion: tekton.dev/v1alpha1
|
apiVersion: tekton.dev/v1alpha1
|
||||||
kind: PipelineResource
|
kind: PipelineResource
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
Active: true
|
Active: true
|
||||||
# Active: false # to not follow up webhook workflow
|
# Active: false # to not follow up webhook workflow
|
||||||
|
|
||||||
@ -8,7 +7,7 @@ Source: roundcubemail-docker/fpm-alpine
|
|||||||
|
|
||||||
# Name - Version, etc
|
# Name - Version, etc
|
||||||
Name: roundcubemail
|
Name: roundcubemail
|
||||||
Version: 1.4.6
|
Version: 1.4.11
|
||||||
|
|
||||||
# To get latest
|
# To get latest
|
||||||
IMAGE_NAME: roundcube/roundcubemail
|
IMAGE_NAME: roundcube/roundcubemail
|
||||||
|
@ -1,27 +1,31 @@
|
|||||||
FROM php:7.3-fpm-alpine
|
FROM php:7.4-fpm-alpine
|
||||||
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
|
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
|
||||||
|
|
||||||
# entrypoint.sh and cron.sh dependencies
|
# entrypoint.sh and installto.sh dependencies
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
bash \
|
bash \
|
||||||
coreutils \
|
coreutils \
|
||||||
|
rsync \
|
||||||
tzdata
|
tzdata
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
apk add --no-cache --virtual .build-deps \
|
apk add --no-cache --virtual .build-deps \
|
||||||
|
$PHPIZE_DEPS \
|
||||||
icu-dev \
|
icu-dev \
|
||||||
|
imagemagick-dev \
|
||||||
libjpeg-turbo-dev \
|
libjpeg-turbo-dev \
|
||||||
libpng-dev \
|
libpng-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
|
libtool \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
sqlite-dev \
|
sqlite-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
docker-php-ext-configure gd; \
|
||||||
docker-php-ext-configure ldap; \
|
docker-php-ext-configure ldap; \
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
exif \
|
exif \
|
||||||
@ -33,6 +37,8 @@ RUN set -ex; \
|
|||||||
pdo_sqlite \
|
pdo_sqlite \
|
||||||
zip \
|
zip \
|
||||||
; \
|
; \
|
||||||
|
pecl install imagick; \
|
||||||
|
docker-php-ext-enable imagick; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||||
@ -40,17 +46,24 @@ RUN set -ex; \
|
|||||||
| sort -u \
|
| sort -u \
|
||||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||||
)"; \
|
)"; \
|
||||||
apk add --virtual .roundcubemail-phpext-rundeps $runDeps; \
|
apk add --virtual .roundcubemail-phpext-rundeps imagemagick $runDeps; \
|
||||||
apk del .build-deps
|
apk del .build-deps
|
||||||
|
|
||||||
|
# add composer.phar
|
||||||
|
ADD https://getcomposer.org/installer /tmp/composer-installer.php
|
||||||
|
|
||||||
|
RUN php /tmp/composer-installer.php --install-dir=/usr/local/bin/; \
|
||||||
|
rm /tmp/composer-installer.php
|
||||||
|
|
||||||
|
|
||||||
# expose these volumes
|
# expose these volumes
|
||||||
#VOLUME /var/roundcube/config
|
VOLUME /var/roundcube/config
|
||||||
#VOLUME /var/roundcube/db
|
VOLUME /var/roundcube/db
|
||||||
#VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
#VOLUME /tmp/roundcube-temp
|
VOLUME /tmp/roundcube-temp
|
||||||
|
|
||||||
# Define Roundcubemail version
|
# Define Roundcubemail version
|
||||||
ENV ROUNDCUBEMAIL_VERSION 1.4.6
|
ENV ROUNDCUBEMAIL_VERSION 1.4.11
|
||||||
|
|
||||||
# Download package and extract to web volume
|
# Download package and extract to web volume
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
@ -63,15 +76,14 @@ RUN set -ex; \
|
|||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
# workaround for "Cannot assign requested address", see e.g. https://github.com/inversepath/usbarmory-debian-base_image/issues/9
|
# workaround for "Cannot assign requested address", see e.g. https://github.com/inversepath/usbarmory-debian-base_image/issues/9
|
||||||
echo "disable-ipv6" > "$GNUPGHOME/dirmngr.conf"; \
|
echo "disable-ipv6" > "$GNUPGHOME/dirmngr.conf"; \
|
||||||
# ha.pool.sks-keyservers.net seems to be unreliable, use pgp.mit.edu as fallback
|
curl -fSL https://roundcube.net/download/pubkey.asc | gpg --batch --import -; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys F3E4C04BB3DB5D4215C45F7F5AB2BAA141C4F7D5 || gpg --batch --keyserver pgp.mit.edu --recv-keys F3E4C04BB3DB5D4215C45F7F5AB2BAA141C4F7D5; \
|
|
||||||
gpg --batch --verify roundcubemail.tar.gz.asc roundcubemail.tar.gz; \
|
gpg --batch --verify roundcubemail.tar.gz.asc roundcubemail.tar.gz; \
|
||||||
tar -xf roundcubemail.tar.gz -C /usr/src/; \
|
|
||||||
gpgconf --kill all; \
|
gpgconf --kill all; \
|
||||||
|
mkdir /usr/src/roundcubemail; \
|
||||||
|
tar -xf roundcubemail.tar.gz -C /usr/src/roundcubemail --strip-components=1 --no-same-owner; \
|
||||||
rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; \
|
rm -r "$GNUPGHOME" roundcubemail.tar.gz.asc roundcubemail.tar.gz; \
|
||||||
# upstream tarballs include ./roundcubemail-${ROUNDCUBEMAIL_VERSION}/ so this gives us /usr/src/roundcubemail-${ROUNDCUBEMAIL_VERSION}
|
|
||||||
mv /usr/src/roundcubemail-${ROUNDCUBEMAIL_VERSION} /usr/src/roundcubemail; \
|
|
||||||
rm -rf /usr/src/roundcubemail/installer; \
|
rm -rf /usr/src/roundcubemail/installer; \
|
||||||
|
chown -R www-data:www-data /usr/src/roundcubemail/logs; \
|
||||||
apk del .fetch-deps
|
apk del .fetch-deps
|
||||||
|
|
||||||
# include the wait-for-it.sh script
|
# include the wait-for-it.sh script
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
version: "2"
|
version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
roundcube:
|
roundcubemail:
|
||||||
build: ./
|
build: ./
|
||||||
container_name: roundcube
|
container_name: roundcubemail
|
||||||
#restart: always
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- roundcubedb
|
- roundcubedb
|
||||||
links:
|
links:
|
||||||
@ -21,9 +20,8 @@ services:
|
|||||||
- ROUNDCUBEMAIL_DB_PASSWORD=roundcube # same as pgsql POSTGRES_PASSWORD env name
|
- ROUNDCUBEMAIL_DB_PASSWORD=roundcube # same as pgsql POSTGRES_PASSWORD env name
|
||||||
|
|
||||||
roundcubedb:
|
roundcubedb:
|
||||||
image: postgres:latest
|
image: postgres:alpine
|
||||||
container_name: roundcubedb
|
container_name: roundcubedb
|
||||||
restart: always
|
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
volumes:
|
volumes:
|
||||||
@ -36,67 +34,13 @@ services:
|
|||||||
roundcubenginx:
|
roundcubenginx:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
container_name: roundcubenginx
|
container_name: roundcubenginx
|
||||||
restart: always
|
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
# If you need SSL connection
|
|
||||||
# - '443:443'
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- roundcube
|
- roundcubemail
|
||||||
links:
|
links:
|
||||||
- roundcube
|
- roundcubemail
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/roundcube/html:/var/www/html
|
- /srv/roundcube/html:/var/www/html
|
||||||
# TODO Provide a custom nginx conf
|
|
||||||
#- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
||||||
# If you need SSL connection, you can provide your own certificates
|
|
||||||
# - ./certs:/etc/letsencrypt
|
|
||||||
# - ./certs-data:/data/letsencrypt
|
|
||||||
environment:
|
environment:
|
||||||
- NGINX_HOST=localhost # set your local domain or your live domain
|
- NGINX_HOST=localhost # set your local domain or your live domain
|
||||||
# - NGINX_CGI=roundcube:9000 # same as roundcube container name
|
|
||||||
|
|
||||||
# Sample mail server to use with RoundCube: https://github.com/tomav/docker-mailserver
|
|
||||||
# mailserver:
|
|
||||||
# image: tvial/docker-mailserver:latest
|
|
||||||
# hostname: mail
|
|
||||||
# domainname: <YOUR.DOMAIN.NAME>
|
|
||||||
# container_name: mail
|
|
||||||
# restart: always
|
|
||||||
# ports:
|
|
||||||
# # receiving email from other mailservers
|
|
||||||
# - "25:25"
|
|
||||||
# # SSL & TLS Client email submission (SMTP)
|
|
||||||
# - "465:465"
|
|
||||||
# - "587:587"
|
|
||||||
# # StartTLS & TLS/SSL IMAP client
|
|
||||||
# - "143:143"
|
|
||||||
# - "993:993"
|
|
||||||
# # POP3 & TLS/SSL POP3 client
|
|
||||||
# - "110:110"
|
|
||||||
# - "995:995"
|
|
||||||
# # Manage Sieve port
|
|
||||||
# - "4190:4190"
|
|
||||||
# environment:
|
|
||||||
# - DMS_DEBUG=0
|
|
||||||
# - ONE_DIR=1
|
|
||||||
# - ENABLE_CLAMAV=1
|
|
||||||
# - ENABLE_FAIL2BAN=1
|
|
||||||
# - ENABLE_POSTGREY=1
|
|
||||||
# - ENABLE_MANAGESIEVE=1
|
|
||||||
# # If you need SSL connection, you can provide your own certificates
|
|
||||||
# #- SSL_TYPE=manual
|
|
||||||
# #- SSL_CERT_PATH=/etc/letsencrypt/fullchain.pem
|
|
||||||
# #- SSL_KEY_PATH=/etc/letsencrypt/privkey.pem
|
|
||||||
# cap_add:
|
|
||||||
# - NET_ADMIN
|
|
||||||
# - SYS_PTRACE
|
|
||||||
# volumes:
|
|
||||||
# - /srv/mail/data:/var/mail
|
|
||||||
# - /srv/mail/state:/var/mail-state
|
|
||||||
# # For proper delivery, generate DKIM keys in /srv/mail/setup
|
|
||||||
# - /srv/mail/setup:/tmp/docker-mailserver
|
|
||||||
# - /etc/localtime:/etc/localtime:ro
|
|
||||||
# - /etc/timezone:/etc/timezone:ro
|
|
||||||
# # If you need SSL connection, you can provide your own certificates
|
|
||||||
# # - ./certs:/etc/letsencrypt
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
# PWD=`pwd`
|
# PWD=`pwd`
|
||||||
|
|
||||||
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
||||||
|
# docroot is empty
|
||||||
if ! [ -e index.php -a -e bin/installto.sh ]; then
|
if ! [ -e index.php -a -e bin/installto.sh ]; then
|
||||||
echo >&2 "roundcubemail not found in $PWD - copying now..."
|
echo >&2 "roundcubemail not found in $PWD - copying now..."
|
||||||
if [ "$(ls -A)" ]; then
|
if [ "$(ls -A)" ]; then
|
||||||
@ -12,6 +13,12 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
fi
|
fi
|
||||||
tar cf - --one-file-system -C /usr/src/roundcubemail . | tar xf -
|
tar cf - --one-file-system -C /usr/src/roundcubemail . | tar xf -
|
||||||
echo >&2 "Complete! ROUNDCUBEMAIL has been successfully copied to $PWD"
|
echo >&2 "Complete! ROUNDCUBEMAIL has been successfully copied to $PWD"
|
||||||
|
# update Roundcube in docroot
|
||||||
|
else
|
||||||
|
INSTALLDIR=`pwd`
|
||||||
|
echo >&2 "roundcubemail found in $INSTALLDIR - installing update..."
|
||||||
|
(cd /usr/src/roundcubemail && bin/installto.sh -y $INSTALLDIR)
|
||||||
|
composer.phar update --no-dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /run/secrets/roundcube_db_user ]; then
|
if [ -f /run/secrets/roundcube_db_user ]; then
|
||||||
@ -46,9 +53,9 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
|
|
||||||
/wait-for-it.sh ${ROUNDCUBEMAIL_DB_HOST}:${ROUNDCUBEMAIL_DB_PORT} -t 30
|
/wait-for-it.sh ${ROUNDCUBEMAIL_DB_HOST}:${ROUNDCUBEMAIL_DB_PORT} -t 30
|
||||||
else
|
else
|
||||||
# use local SQLite DB in /var/www/html/db
|
# use local SQLite DB in /var/roundcube/db
|
||||||
: "${ROUNDCUBEMAIL_DB_TYPE:=sqlite}"
|
: "${ROUNDCUBEMAIL_DB_TYPE:=sqlite}"
|
||||||
: "${ROUNDCUBEMAIL_DB_DIR:=$PWD/db}"
|
: "${ROUNDCUBEMAIL_DB_DIR:=/var/roundcube/db}"
|
||||||
: "${ROUNDCUBEMAIL_DB_NAME:=sqlite}"
|
: "${ROUNDCUBEMAIL_DB_NAME:=sqlite}"
|
||||||
: "${ROUNDCUBEMAIL_DSNW:=${ROUNDCUBEMAIL_DB_TYPE}:///$ROUNDCUBEMAIL_DB_DIR/${ROUNDCUBEMAIL_DB_NAME}.db?mode=0646}"
|
: "${ROUNDCUBEMAIL_DSNW:=${ROUNDCUBEMAIL_DB_TYPE}:///$ROUNDCUBEMAIL_DB_DIR/${ROUNDCUBEMAIL_DB_NAME}.db?mode=0646}"
|
||||||
|
|
||||||
@ -65,37 +72,50 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
: "${ROUNDCUBEMAIL_TEMP_DIR:=/tmp/roundcube-temp}"
|
: "${ROUNDCUBEMAIL_TEMP_DIR:=/tmp/roundcube-temp}"
|
||||||
|
|
||||||
if [ ! -e config/config.inc.php ]; then
|
if [ ! -e config/config.inc.php ]; then
|
||||||
ROUNDCUBEMAIL_PLUGINS_PHP=`echo "${ROUNDCUBEMAIL_PLUGINS}" | sed -E "s/[, ]+/', '/g"`
|
GENERATED_DES_KEY=`head /dev/urandom | base64 | head -c 24`
|
||||||
ROUNDCUBEMAIL_DES_KEY=`test -f /run/secrets/roundcube_des_key && cat /run/secrets/roundcube_des_key || head /dev/urandom | base64 | head -c 24`
|
|
||||||
touch config/config.inc.php
|
touch config/config.inc.php
|
||||||
|
|
||||||
echo "Write config to $PWD/config/config.inc.php"
|
echo "Write root config to $PWD/config/config.inc.php"
|
||||||
echo "<?php
|
echo "<?php
|
||||||
\$config['db_dsnw'] = '${ROUNDCUBEMAIL_DSNW}';
|
\$config['plugins'] = [];
|
||||||
\$config['db_dsnr'] = '${ROUNDCUBEMAIL_DSNR}';
|
|
||||||
\$config['default_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}';
|
|
||||||
\$config['default_port'] = '${ROUNDCUBEMAIL_DEFAULT_PORT}';
|
|
||||||
\$config['smtp_server'] = '${ROUNDCUBEMAIL_SMTP_SERVER}';
|
|
||||||
\$config['smtp_port'] = '${ROUNDCUBEMAIL_SMTP_PORT}';
|
|
||||||
\$config['des_key'] = '${ROUNDCUBEMAIL_DES_KEY}';
|
|
||||||
\$config['temp_dir'] = '${ROUNDCUBEMAIL_TEMP_DIR}';
|
|
||||||
\$config['plugins'] = ['${ROUNDCUBEMAIL_PLUGINS_PHP}'];
|
|
||||||
\$config['zipdownload_selection'] = true;
|
|
||||||
\$config['log_driver'] = 'stdout';
|
\$config['log_driver'] = 'stdout';
|
||||||
\$config['skin'] = '${ROUNDCUBEMAIL_SKIN}';
|
\$config['zipdownload_selection'] = true;
|
||||||
|
\$config['des_key'] = '${GENERATED_DES_KEY}';
|
||||||
|
include(__DIR__ . '/config.docker.inc.php');
|
||||||
" > config/config.inc.php
|
" > config/config.inc.php
|
||||||
|
|
||||||
for fn in `ls /var/roundcube/config/*.php 2>/dev/null || true`; do
|
elif ! grep -q "config.docker.inc.php" config/config.inc.php; then
|
||||||
echo "include('$fn');" >> config/config.inc.php
|
echo "include(__DIR__ . '/config.docker.inc.php');" >> config/config.inc.php
|
||||||
done
|
|
||||||
|
|
||||||
# initialize DB if not SQLite
|
|
||||||
echo "${ROUNDCUBEMAIL_DSNW}" | grep -q 'sqlite:' || bin/initdb.sh --dir=$PWD/SQL || bin/updatedb.sh --dir=$PWD/SQL --package=roundcube || echo "Failed to initialize databse. Please run $PWD/bin/initdb.sh manually."
|
|
||||||
else
|
|
||||||
echo "WARNING: $PWD/config/config.inc.php already exists."
|
|
||||||
echo "ROUNDCUBEMAIL_* environment variables have been ignored."
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ROUNDCUBEMAIL_PLUGINS_PHP=`echo "${ROUNDCUBEMAIL_PLUGINS}" | sed -E "s/[, ]+/', '/g"`
|
||||||
|
echo "Write Docker config to $PWD/config/config.docker.inc.php"
|
||||||
|
echo "<?php
|
||||||
|
\$config['db_dsnw'] = '${ROUNDCUBEMAIL_DSNW}';
|
||||||
|
\$config['db_dsnr'] = '${ROUNDCUBEMAIL_DSNR}';
|
||||||
|
\$config['default_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}';
|
||||||
|
\$config['default_port'] = '${ROUNDCUBEMAIL_DEFAULT_PORT}';
|
||||||
|
\$config['smtp_server'] = '${ROUNDCUBEMAIL_SMTP_SERVER}';
|
||||||
|
\$config['smtp_port'] = '${ROUNDCUBEMAIL_SMTP_PORT}';
|
||||||
|
\$config['temp_dir'] = '${ROUNDCUBEMAIL_TEMP_DIR}';
|
||||||
|
\$config['skin'] = '${ROUNDCUBEMAIL_SKIN}';
|
||||||
|
\$config['plugins'] = array_filter(array_unique(array_merge(\$config['plugins'], ['${ROUNDCUBEMAIL_PLUGINS_PHP}'])));
|
||||||
|
" > config/config.docker.inc.php
|
||||||
|
|
||||||
|
if [ -e /run/secrets/roundcube_des_key ]; then
|
||||||
|
echo "\$config['des_key'] = file_get_contents('/run/secrets/roundcube_des_key');" >> config/config.docker.inc.php
|
||||||
|
elif [ ! -z "${ROUNDCUBEMAIL_DES_KEY}" ]; then
|
||||||
|
echo "\$config['des_key'] = getenv('ROUNDCUBEMAIL_DES_KEY');" >> config/config.docker.inc.php
|
||||||
|
fi
|
||||||
|
|
||||||
|
# include custom config files
|
||||||
|
for fn in `ls /var/roundcube/config/*.php 2>/dev/null || true`; do
|
||||||
|
echo "include('$fn');" >> config/config.docker.inc.php
|
||||||
|
done
|
||||||
|
|
||||||
|
# initialize or update DB
|
||||||
|
bin/initdb.sh --dir=$PWD/SQL --create || bin/updatedb.sh --dir=$PWD/SQL --package=roundcube || echo "Failed to initialize database. Please run $PWD/bin/initdb.sh and $PWD/bin/updatedb.sh manually."
|
||||||
|
|
||||||
if [ ! -z "${ROUNDCUBEMAIL_TEMP_DIR}" ]; then
|
if [ ! -z "${ROUNDCUBEMAIL_TEMP_DIR}" ]; then
|
||||||
mkdir -p ${ROUNDCUBEMAIL_TEMP_DIR} && chown www-data ${ROUNDCUBEMAIL_TEMP_DIR}
|
mkdir -p ${ROUNDCUBEMAIL_TEMP_DIR} && chown www-data ${ROUNDCUBEMAIL_TEMP_DIR}
|
||||||
fi
|
fi
|
||||||
@ -104,6 +124,13 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
|||||||
echo "upload_max_filesize=${ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE}" >> /usr/local/etc/php/conf.d/roundcube-override.ini
|
echo "upload_max_filesize=${ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE}" >> /usr/local/etc/php/conf.d/roundcube-override.ini
|
||||||
echo "post_max_size=${ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE}" >> /usr/local/etc/php/conf.d/roundcube-override.ini
|
echo "post_max_size=${ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE}" >> /usr/local/etc/php/conf.d/roundcube-override.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
: "${ROUNDCUBEMAIL_LOCALE:=en_US.UTF-8 UTF-8}"
|
||||||
|
|
||||||
|
if [ -e /usr/sbin/locale-gen ] && [ ! -z "${ROUNDCUBEMAIL_LOCALE}" ]; then
|
||||||
|
echo "${ROUNDCUBEMAIL_LOCALE}" > /etc/locale.gen
|
||||||
|
/usr/sbin/locale-gen
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user