This commit is contained in:
Mr Bot 2019-09-26 17:46:59 +03:00
parent 7b33a394fa
commit 092becfec7
7 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
FROM nextcloud:latest FROM nextcloud:latest
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
#smb additional magic #smb additional magic
ADD php-smbclient-latest.tar.gz /tmp ADD php-smbclient-latest.tar.gz /tmp
RUN cp -fv /tmp/php-smbclient-latest/etc/php/7.3/mods-available/smbclient.ini /usr/local/etc/php/conf.d/smbclient.ini && \ RUN cp -fv /tmp/php-smbclient-latest/etc/php/7.3/mods-available/smbclient.ini /usr/local/etc/php/conf.d/smbclient.ini && \
cp -fv /tmp/php-smbclient-latest/usr/lib/php/20180731/smbclient.so /usr/local/lib/php/extensions/no-debug-non-zts-20180731/smbclient.so && \ cp -fv /tmp/php-smbclient-latest/usr/lib/php/20180731/smbclient.so /usr/local/lib/php/extensions/no-debug-non-zts-20180731/smbclient.so && \
rm -frv /tmp/php-smbclient-latest.tar.gz /tmp/php-smbclient-latest rm -frv /tmp/php-smbclient-latest.tar.gz /tmp/php-smbclient-latest
@ -16,5 +16,5 @@ ADD Streamer.php /var/www/html/lib/private/
#smb fix #smb fix
RUN rm -frv /etc/samba/smb.conf /usr/share/samba/smb.conf RUN rm -frv /etc/samba/smb.conf /usr/share/samba/smb.conf
ADD smb.conf /etc/samba/ ADD smb.conf /etc/samba/
ADD smb.conf /usr/share/samba/ ADD smb.conf /usr/share/samba/