Nightly: remove volumes, upgrade to PHP 8
authorThomas Bruederli <redacted>
Thu, 30 Jun 2022 19:48:16 +0000 (21:48 +0200)
committerThomas Bruederli <redacted>
Thu, 30 Jun 2022 19:48:16 +0000 (21:48 +0200)
nightly/Dockerfile

index 4a1fa23778d901ed5db0be60b783fbc73928a1c2..6ba664bb7e4b84360b93f07f088e019e56c4f0e4 100644 (file)
@@ -1,4 +1,4 @@
-FROM php:7.4-apache AS base
+FROM php:8.0-apache AS base
 LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
 
 RUN set -ex; \
@@ -115,12 +115,6 @@ FROM base
 RUN mkdir -p /usr/src
 COPY --from=builder /usr/src/roundcubemail /usr/src/roundcubemail
 
-# expose these volumes
-VOLUME /var/roundcube/config
-VOLUME /var/roundcube/db
-VOLUME /var/www/html
-VOLUME /tmp/roundcube-temp
-
 # 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
 
@@ -129,5 +123,7 @@ COPY php.ini /usr/local/etc/php/conf.d/roundcube-defaults.ini
 
 COPY docker-entrypoint.sh /
 
+RUN mkdir -p /var/roundcube/config
+
 ENTRYPOINT ["/docker-entrypoint.sh"]
 CMD ["apache2-foreground"]
git clone https://git.99rst.org/PROJECT