mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +03:00
Update Dockerfile
This commit is contained in:
parent
a6c764edf5
commit
6a56b4f1f7
@ -4,17 +4,17 @@ 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
|
||||||
|
|
||||||
#addoing some utils
|
#addoing some utils
|
||||||
RUN apt update -y && apt install -y --allow-unauthenticated sudo apt-transport-https wget htop mc nano smbclient libsmbclient
|
RUN apt update -y && apt install -y --allow-unauthenticated sudo apt-transport-https wget htop mc nano smbclient libsmbclient
|
||||||
|
|
||||||
#thank u, mac users. rolling back normal ZipStreammer
|
#thank u, mac users. rolling back normal ZipStreammer
|
||||||
RUN rm -fv /var/www/html/lib/private/Streamer.php
|
RUN rm -frv /var/www/html/lib/private/Streamer.php
|
||||||
ADD Streamer.php /var/www/html/lib/private/
|
ADD Streamer.php /var/www/html/lib/private/
|
||||||
|
|
||||||
#smb fix
|
#smb fix
|
||||||
RUN rm -fv /etc/samba/smb.conf && \
|
RUN rm -frv /etc/samba/smb.conf /usr/share/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/
|
||||||
|
Loading…
Reference in New Issue
Block a user