# Define Roundcubemail version
ENV ROUNDCUBEMAIL_VERSION 1.4.4
-ENV ROUNDCUBEMAIL_LOCALE="en_US.UTF-8 UTF-8"
-
# Download package and extract to web volume
RUN set -ex; \
fetchDeps="gnupg dirmngr locales libc-l10n"; \
echo "post_max_size=${ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE}" >> /usr/local/etc/php/conf.d/roundcube-override.ini
fi
+ : "${ROUNDCUBEMAIL_LOCALE:=en_US.UTF-8 UTF-8}"
+
if [ ! -z "${ROUNDCUBEMAIL_LOCALE}" ]; then
echo "${ROUNDCUBEMAIL_LOCALE}" > /etc/locale.gen
/usr/sbin/locale-gen
# Define Roundcubemail version
ENV ROUNDCUBEMAIL_VERSION 1.4.4
-ENV ROUNDCUBEMAIL_LOCALE="en_US.UTF-8 UTF-8"
-
# Download package and extract to web volume
RUN set -ex; \
fetchDeps="gnupg dirmngr locales libc-l10n"; \
echo "post_max_size=${ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE}" >> /usr/local/etc/php/conf.d/roundcube-override.ini
fi
+ : "${ROUNDCUBEMAIL_LOCALE:=en_US.UTF-8 UTF-8}"
+
if [ ! -z "${ROUNDCUBEMAIL_LOCALE}" ]; then
echo "${ROUNDCUBEMAIL_LOCALE}" > /etc/locale.gen
/usr/sbin/locale-gen