From: Thomas Bruederli Date: Thu, 30 Jun 2022 19:48:16 +0000 (+0200) Subject: Nightly: remove volumes, upgrade to PHP 8 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0451e86400e18963287cfd81a3c1403e25ab78e5;p=roundcube-roundcubemail-docker.git Nightly: remove volumes, upgrade to PHP 8 --- diff --git a/nightly/Dockerfile b/nightly/Dockerfile index 4a1fa23..6ba664b 100644 --- a/nightly/Dockerfile +++ b/nightly/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.4-apache AS base +FROM php:8.0-apache AS base LABEL maintainer="Thomas Bruederli " 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"]