-FROM php:7.4-apache
+FROM php:8.0-apache
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
RUN set -ex; \
RUN a2enmod rewrite
# Define Roundcubemail version
-ENV ROUNDCUBEMAIL_VERSION 1.5.3
+ENV ROUNDCUBEMAIL_VERSION 1.6.0
# Define the GPG key used for the bundle verification process
ENV ROUNDCUBEMAIL_KEYID "F3E4 C04B B3DB 5D42 15C4 5F7F 5AB2 BAA1 41C4 F7D5"
rm -rf /usr/src/roundcubemail/installer; \
chown -R www-data:www-data /usr/src/roundcubemail/logs
-# copy the latest version of initdb.sh which supports the --update flag
-RUN curl -fL https://raw.githubusercontent.com/roundcube/roundcubemail/master/bin/initdb.sh > /usr/src/roundcubemail/bin/initdb.sh && chmod +x /usr/src/roundcubemail/bin/initdb.sh
-
# include the wait-for-it.sh script
RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh
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['imap_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}:${ROUNDCUBEMAIL_DEFAULT_PORT}';
+ \$config['smtp_host'] = '${ROUNDCUBEMAIL_SMTP_SERVER}:${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}'])));
-FROM php:7.4-fpm-alpine
+FROM php:8.0-fpm-alpine
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
# entrypoint.sh and installto.sh dependencies
# Define Roundcubemail version
-ENV ROUNDCUBEMAIL_VERSION 1.5.3
+ENV ROUNDCUBEMAIL_VERSION 1.6.0
# Define the GPG key used for the bundle verification process
ENV ROUNDCUBEMAIL_KEYID "F3E4 C04B B3DB 5D42 15C4 5F7F 5AB2 BAA1 41C4 F7D5"
chown -R www-data:www-data /usr/src/roundcubemail/logs; \
apk del .fetch-deps
-# copy the latest version of initdb.sh which supports the --update flag
-RUN curl -fL https://raw.githubusercontent.com/roundcube/roundcubemail/master/bin/initdb.sh > /usr/src/roundcubemail/bin/initdb.sh && chmod +x /usr/src/roundcubemail/bin/initdb.sh
-
# include the wait-for-it.sh script
RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh
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['imap_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}:${ROUNDCUBEMAIL_DEFAULT_PORT}';
+ \$config['smtp_host'] = '${ROUNDCUBEMAIL_SMTP_SERVER}:${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}'])));
-FROM php:7.4-fpm
+FROM php:8.0-fpm
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
RUN set -ex; \
# Define Roundcubemail version
-ENV ROUNDCUBEMAIL_VERSION 1.5.3
+ENV ROUNDCUBEMAIL_VERSION 1.6.0
# Define the GPG key used for the bundle verification process
ENV ROUNDCUBEMAIL_KEYID "F3E4 C04B B3DB 5D42 15C4 5F7F 5AB2 BAA1 41C4 F7D5"
rm -rf /usr/src/roundcubemail/installer; \
chown -R www-data:www-data /usr/src/roundcubemail/logs
-# copy the latest version of initdb.sh which supports the --update flag
-RUN curl -fL https://raw.githubusercontent.com/roundcube/roundcubemail/master/bin/initdb.sh > /usr/src/roundcubemail/bin/initdb.sh && chmod +x /usr/src/roundcubemail/bin/initdb.sh
-
# include the wait-for-it.sh script
RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh
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['imap_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}:${ROUNDCUBEMAIL_DEFAULT_PORT}';
+ \$config['smtp_host'] = '${ROUNDCUBEMAIL_SMTP_SERVER}:${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}'])));
-FROM php:7.4-%%VARIANT%%
+FROM php:8.0-%%VARIANT%%
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
# entrypoint.sh and installto.sh dependencies
chown -R www-data:www-data /usr/src/roundcubemail/logs; \
apk del .fetch-deps
-# copy the latest version of initdb.sh which supports the --update flag
-RUN curl -fL https://raw.githubusercontent.com/roundcube/roundcubemail/master/bin/initdb.sh > /usr/src/roundcubemail/bin/initdb.sh && chmod +x /usr/src/roundcubemail/bin/initdb.sh
-
# include the wait-for-it.sh script
RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh
-FROM php:7.4-%%VARIANT%%
+FROM php:8.0-%%VARIANT%%
LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
RUN set -ex; \
rm -rf /usr/src/roundcubemail/installer; \
chown -R www-data:www-data /usr/src/roundcubemail/logs
-# copy the latest version of initdb.sh which supports the --update flag
-RUN curl -fL https://raw.githubusercontent.com/roundcube/roundcubemail/master/bin/initdb.sh > /usr/src/roundcubemail/bin/initdb.sh && chmod +x /usr/src/roundcubemail/bin/initdb.sh
-
# include the wait-for-it.sh script
RUN curl -fL https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /wait-for-it.sh && chmod +x /wait-for-it.sh
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['imap_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}:${ROUNDCUBEMAIL_DEFAULT_PORT}';
+ \$config['smtp_host'] = '${ROUNDCUBEMAIL_SMTP_SERVER}:${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}'])));