docker-scripts/nextcloud/latest/Dockerfile

26 lines
993 B
Docker
Raw Normal View History

2019-04-08 14:56:33 +03:00
FROM nextcloud:latest
ENV DEBIAN_FRONTEND noninteractive
2019-09-02 13:59:09 +03:00
#editing sources list
2019-09-02 16:42:20 +03:00
#RUN rm /etc/apt/sources.list
#COPY sources.list /etc/apt/sources.list
2019-09-02 16:53:37 +03:00
RUN rm -fv /tmp/php-smbclient-latest.tar.gz
ADD php-smbclient-latest.tar.gz /tmp
2019-09-02 16:57:41 +03:00
RUN cat /tmp/php-smbclient-latest/etc/php/7.3/mods-available/smbclient.ini
2019-09-02 16:42:20 +03:00
2019-09-02 16:53:37 +03:00
#RUN pt update -y && apt install -y --allow-unauthenticated mc smbclient libsmbclient
2019-09-02 13:59:09 +03:00
#addoing some utils
2019-09-02 16:42:20 +03:00
#RUN apt update -y && apt dist-upgrade -y && apt install -y --allow-unauthenticated ca-certificates gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl htop mc tmux iftop cmatrix iputils-ping cmatrix-xfont lsof lynx fontconfig smbclient nano libsmbclient
2019-09-02 13:59:09 +03:00
#thank u, mac users. rolling back normal ZipStreammer
2019-09-02 13:56:20 +03:00
RUN rm -fv /var/www/html/lib/private/Streamer.php
ADD Streamer.php /var/www/html/lib/private/
2019-09-02 14:51:21 +03:00
#smb fix
RUN rm -fv /etc/samba/smb.conf
ADD smb.conf /etc/samba/
RUN rm -fv /usr/share/samba/smb.conf
ADD smb.conf /usr/share/samba/