diff --git a/Dockerfile b/Dockerfile index 53e59e3..b216c2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,10 @@ # Run: # $ docker run --rm -d --env-file sendy.env sendy:latest -FROM php:7.4.8-apache as sendy +FROM php:8.0-apache as sendy -ARG SENDY_VER=5.2.3 -ARG ARTIFACT_DIR=5.2.3 +ARG SENDY_VER=6.0.4 +ARG ARTIFACT_DIR=6.0.4 ENV SENDY_VERSION ${SENDY_VER} @@ -36,6 +36,7 @@ RUN unzip /tmp/sendy-${SENDY_VER}.zip -d /tmp \ && chmod -R 777 /tmp/sendy/uploads \ && rm -rf /var/www/html \ && mv /tmp/sendy /var/www/html \ + && chown -R www-data:www-data /var/www \ && mv /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \ && rm -rf /tmp/* \ && echo "\nServerName \${SENDY_FQDN}" > /etc/apache2/conf-available/serverName.conf \ @@ -73,3 +74,5 @@ RUN pecl channel-update pecl.php.net \ && pecl install xdebug \ && docker-php-ext-enable xdebug \ && rm -rf /tmp/pear + + diff --git a/artifacts/5.2.3/sendy-5.2.3.zip b/artifacts/5.2.3/sendy-5.2.3.zip deleted file mode 100644 index ed5652f..0000000 Binary files a/artifacts/5.2.3/sendy-5.2.3.zip and /dev/null differ diff --git a/artifacts/5.2.3/includes/config.php b/artifacts/6.0.4/includes/config.php similarity index 100% rename from artifacts/5.2.3/includes/config.php rename to artifacts/6.0.4/includes/config.php diff --git a/artifacts/6.0.4/sendy-6.0.4.zip b/artifacts/6.0.4/sendy-6.0.4.zip new file mode 100644 index 0000000..53dcb83 Binary files /dev/null and b/artifacts/6.0.4/sendy-6.0.4.zip differ