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

github.com/nextcloud/docker-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-12-20 23:20:02 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-12-20 23:20:02 +0300
commit4365432adb7ff9f588a457597adfc7f256cd368d (patch)
treefaf9ac71dcf85be10991cf43eddd5ff2e37f628b /samba-native-php7.0
parentcd828d9ea9d8fa800ae9ba55d08b2f9a5cdc4da4 (diff)
Add samba-native-dockersamba-native-php7.0-1
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'samba-native-php7.0')
-rw-r--r--samba-native-php7.0/Dockerfile8
-rw-r--r--samba-native-php7.0/smbclient.ini1
2 files changed, 7 insertions, 2 deletions
diff --git a/samba-native-php7.0/Dockerfile b/samba-native-php7.0/Dockerfile
index d85e4a0..53ce16d 100644
--- a/samba-native-php7.0/Dockerfile
+++ b/samba-native-php7.0/Dockerfile
@@ -1,4 +1,8 @@
From nextcloudci/samba-non-native-php7.0:samba-non-native-php7.0-2
-RUN apt-get update
-RUN apt-get install -y php-smbclient
+RUN apt update
+RUN apt-get install -y php7.0-dev libsmbclient-dev git
+RUN git clone git://github.com/eduardok/libsmbclient-php.git
+RUN cd libsmbclient-php && phpize && ./configure && make && make install
+
+ADD smbclient.ini /etc/php/7.0/cli/conf.d/smbclient.ini
diff --git a/samba-native-php7.0/smbclient.ini b/samba-native-php7.0/smbclient.ini
new file mode 100644
index 0000000..03f920f
--- /dev/null
+++ b/samba-native-php7.0/smbclient.ini
@@ -0,0 +1 @@
+extension="smbclient.so"