Update Dockerfile

This commit is contained in:
STAM 2019-09-02 16:42:20 +03:00 committed by GitHub
parent c772752075
commit c791a45d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,17 @@ FROM nextcloud:latest
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
#editing sources list #editing sources list
RUN rm /etc/apt/sources.list #RUN rm /etc/apt/sources.list
COPY sources.list /etc/apt/sources.list #COPY sources.list /etc/apt/sources.list
RUN docker-php-ext-install -j smbclient
RUN pecl install smbclient
RUN docker-php-ext-enable smbclient
RUN pt update -y && apt install -y --allow-unauthenticated mc smbclient libsmbclient
#addoing some utils #addoing some utils
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 #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
#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 -fv /var/www/html/lib/private/Streamer.php