diff --git a/php7.1/apache/Dockerfile b/php7.1/apache/Dockerfile index ace462f..a38948b 100644 --- a/php7.1/apache/Dockerfile +++ b/php7.1/apache/Dockerfile @@ -70,12 +70,13 @@ ENV JOOMLA_VERSION 3.9.10 ENV JOOMLA_SHA512 335b0f15e267c0430bb5eed7ac84bef299602c48f58ab8f4370434c684b956ea4515c5e742b4eb59ffdc9d61fb14618625fd85e81157ee7185097c925bb08708 # Download package and extract to web volume -RUN curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2 \ - && echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c - \ - && mkdir /usr/src/joomla \ - && tar -xf joomla.tar.bz2 -C /usr/src/joomla \ - && rm joomla.tar.bz2 \ - && chown -R www-data:www-data /usr/src/joomla +RUN set -ex; \ + curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2; \ + echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ + mkdir /usr/src/joomla; \ + tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ + rm joomla.tar.bz2; \ + chown -R www-data:www-data /usr/src/joomla # Copy init scripts and custom .htaccess COPY docker-entrypoint.sh /entrypoint.sh diff --git a/php7.1/fpm/Dockerfile b/php7.1/fpm/Dockerfile index 1ec2f35..b686986 100644 --- a/php7.1/fpm/Dockerfile +++ b/php7.1/fpm/Dockerfile @@ -67,12 +67,13 @@ ENV JOOMLA_VERSION 3.9.10 ENV JOOMLA_SHA512 335b0f15e267c0430bb5eed7ac84bef299602c48f58ab8f4370434c684b956ea4515c5e742b4eb59ffdc9d61fb14618625fd85e81157ee7185097c925bb08708 # Download package and extract to web volume -RUN curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2 \ - && echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c - \ - && mkdir /usr/src/joomla \ - && tar -xf joomla.tar.bz2 -C /usr/src/joomla \ - && rm joomla.tar.bz2 \ - && chown -R www-data:www-data /usr/src/joomla +RUN set -ex; \ + curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2; \ + echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ + mkdir /usr/src/joomla; \ + tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ + rm joomla.tar.bz2; \ + chown -R www-data:www-data /usr/src/joomla # Copy init scripts and custom .htaccess COPY docker-entrypoint.sh /entrypoint.sh diff --git a/php7.2/apache/Dockerfile b/php7.2/apache/Dockerfile index b1b85f9..3bad9de 100644 --- a/php7.2/apache/Dockerfile +++ b/php7.2/apache/Dockerfile @@ -68,12 +68,13 @@ ENV JOOMLA_VERSION 3.9.10 ENV JOOMLA_SHA512 335b0f15e267c0430bb5eed7ac84bef299602c48f58ab8f4370434c684b956ea4515c5e742b4eb59ffdc9d61fb14618625fd85e81157ee7185097c925bb08708 # Download package and extract to web volume -RUN curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2 \ - && echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c - \ - && mkdir /usr/src/joomla \ - && tar -xf joomla.tar.bz2 -C /usr/src/joomla \ - && rm joomla.tar.bz2 \ - && chown -R www-data:www-data /usr/src/joomla +RUN set -ex; \ + curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2; \ + echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ + mkdir /usr/src/joomla; \ + tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ + rm joomla.tar.bz2; \ + chown -R www-data:www-data /usr/src/joomla # Copy init scripts and custom .htaccess COPY docker-entrypoint.sh /entrypoint.sh diff --git a/php7.2/fpm/Dockerfile b/php7.2/fpm/Dockerfile index 926aa0c..35e9c27 100644 --- a/php7.2/fpm/Dockerfile +++ b/php7.2/fpm/Dockerfile @@ -65,12 +65,13 @@ ENV JOOMLA_VERSION 3.9.10 ENV JOOMLA_SHA512 335b0f15e267c0430bb5eed7ac84bef299602c48f58ab8f4370434c684b956ea4515c5e742b4eb59ffdc9d61fb14618625fd85e81157ee7185097c925bb08708 # Download package and extract to web volume -RUN curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2 \ - && echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c - \ - && mkdir /usr/src/joomla \ - && tar -xf joomla.tar.bz2 -C /usr/src/joomla \ - && rm joomla.tar.bz2 \ - && chown -R www-data:www-data /usr/src/joomla +RUN set -ex; \ + curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2; \ + echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ + mkdir /usr/src/joomla; \ + tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ + rm joomla.tar.bz2; \ + chown -R www-data:www-data /usr/src/joomla # Copy init scripts and custom .htaccess COPY docker-entrypoint.sh /entrypoint.sh diff --git a/php7.3/apache/Dockerfile b/php7.3/apache/Dockerfile index 37b70db..b97c8e3 100644 --- a/php7.3/apache/Dockerfile +++ b/php7.3/apache/Dockerfile @@ -69,12 +69,13 @@ ENV JOOMLA_VERSION 3.9.10 ENV JOOMLA_SHA512 335b0f15e267c0430bb5eed7ac84bef299602c48f58ab8f4370434c684b956ea4515c5e742b4eb59ffdc9d61fb14618625fd85e81157ee7185097c925bb08708 # Download package and extract to web volume -RUN curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2 \ - && echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c - \ - && mkdir /usr/src/joomla \ - && tar -xf joomla.tar.bz2 -C /usr/src/joomla \ - && rm joomla.tar.bz2 \ - && chown -R www-data:www-data /usr/src/joomla +RUN set -ex; \ + curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2; \ + echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ + mkdir /usr/src/joomla; \ + tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ + rm joomla.tar.bz2; \ + chown -R www-data:www-data /usr/src/joomla # Copy init scripts and custom .htaccess COPY docker-entrypoint.sh /entrypoint.sh diff --git a/php7.3/fpm/Dockerfile b/php7.3/fpm/Dockerfile index 9af7818..10f8f3d 100644 --- a/php7.3/fpm/Dockerfile +++ b/php7.3/fpm/Dockerfile @@ -66,12 +66,13 @@ ENV JOOMLA_VERSION 3.9.10 ENV JOOMLA_SHA512 335b0f15e267c0430bb5eed7ac84bef299602c48f58ab8f4370434c684b956ea4515c5e742b4eb59ffdc9d61fb14618625fd85e81157ee7185097c925bb08708 # Download package and extract to web volume -RUN curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2 \ - && echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c - \ - && mkdir /usr/src/joomla \ - && tar -xf joomla.tar.bz2 -C /usr/src/joomla \ - && rm joomla.tar.bz2 \ - && chown -R www-data:www-data /usr/src/joomla +RUN set -ex; \ + curl -o joomla.tar.bz2 -SL https://github.com/joomla/joomla-cms/releases/download/${JOOMLA_VERSION}/Joomla_${JOOMLA_VERSION}-Stable-Full_Package.tar.bz2; \ + echo "$JOOMLA_SHA512 *joomla.tar.bz2" | sha512sum -c -; \ + mkdir /usr/src/joomla; \ + tar -xf joomla.tar.bz2 -C /usr/src/joomla; \ + rm joomla.tar.bz2; \ + chown -R www-data:www-data /usr/src/joomla # Copy init scripts and custom .htaccess COPY docker-entrypoint.sh /entrypoint.sh