diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-10-14 18:04:45 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-10-14 18:17:13 +0300 |
commit | f95aabefb76f5c6c62322f4d4ee906b1fb3d349e (patch) | |
tree | cfb52df99254dacb922e47e23ac0a08a5f4aa33d | |
parent | 5739158be7cd1c69cdfb01f0c7a80992eae8eae9 (diff) |
build up to date php-smblibclient and enable it19.0.4-0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r-- | Dockerfile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -64,9 +64,16 @@ RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \ sudo \ lbzip2 \ unattended-upgrades \ - libsmbclient-dev - -RUN pecl install smbclient && apt purge -y php-dev + libsmbclient-dev \ + unzip + +RUN wget -O /tmp/libsmbclient-php.zip https://github.com/eduardok/libsmbclient-php/archive/master.zip && \ + unzip /tmp/libsmbclient-php.zip -d /tmp && \ + cd /tmp/libsmbclient-php-master && \ + phpize && ./configure && make && sudo make install && \ + echo 'extension="smbclient.so"' >> /etc/php/7.4/cli/conf.d/60-nextcloud.ini && \ + echo 'extension="smbclient.so"' >> /etc/php/7.4/apache2/conf.d/60-nextcloud.ini && \ + apt purge -y php-dev unzip RUN apt autoremove -y |