Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-10-14 18:04:45 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-10-14 18:17:13 +0300
commitf95aabefb76f5c6c62322f4d4ee906b1fb3d349e (patch)
treecfb52df99254dacb922e47e23ac0a08a5f4aa33d
parent5739158be7cd1c69cdfb01f0c7a80992eae8eae9 (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--Dockerfile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index ef766cd..d8112a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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