mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 07:32:53 +01:00
Upgrade PHP Mailer as docker build fails trying to download the current version.
This commit is contained in:
parent
ec4e430112
commit
1db9635bf1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user