From 1db9635bf118368a51372fc13781edd665a20896 Mon Sep 17 00:00:00 2001 From: Brian Lycett Date: Fri, 29 Apr 2022 09:16:16 +0100 Subject: [PATCH] Upgrade PHP Mailer as docker build fails trying to download the current version. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0bae810..972f27a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN docker-php-ext-configure gd --with-freetype && \ docker-php-ext-configure ldap --with-libdir=$libdir && \ docker-php-ext-install -j$(nproc) ldap -ADD https://github.com/PHPMailer/PHPMailer/archive/v6.2.0.tar.gz /tmp +ADD https://github.com/PHPMailer/PHPMailer/archive/refs/tags/v6.3.0.tar.gz /tmp RUN a2enmod rewrite ssl && a2dissite 000-default default-ssl @@ -22,7 +22,7 @@ EXPOSE 80 EXPOSE 443 COPY www/ /opt/ldap_user_manager -RUN tar -xzf /tmp/v6.2.0.tar.gz -C /opt && mv /opt/PHPMailer-6.2.0 /opt/PHPMailer +RUN tar -xzf /tmp/v6.3.0.tar.gz -C /opt && mv /opt/PHPMailer-6.3.0 /opt/PHPMailer COPY entrypoint /usr/local/bin/entrypoint RUN chmod a+x /usr/local/bin/entrypoint