Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -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 \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this PR.

Curious why this line is important. What's the reason?

&& 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 \
Expand Down Expand Up @@ -73,3 +74,5 @@ RUN pecl channel-update pecl.php.net \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug \
&& rm -rf /tmp/pear


Binary file removed artifacts/5.2.3/sendy-5.2.3.zip
Binary file not shown.
Binary file added artifacts/6.0.4/sendy-6.0.4.zip
Binary file not shown.