Browse Source

Add samba-native

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/server-2
Roeland Jago Douma 9 months ago
parent
commit
322c63de48
No account linked to committer's email address
2 changed files with 9 additions and 0 deletions
  1. 8
    0
      samba-native-php7.1/Dockerfile
  2. 1
    0
      samba-native-php7.1/smbclient.ini

+ 8
- 0
samba-native-php7.1/Dockerfile View File

@@ -0,0 +1,8 @@
FROM nextcloudci/samba-non-native-php7.1:1

RUN apt update
RUN apt-get install -y php7.1-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

+ 1
- 0
samba-native-php7.1/smbclient.ini View File

@@ -0,0 +1 @@
extension="smbclient.so"

Loading…
Cancel
Save