diff --git a/Dockerfile b/Dockerfile index 9d15576..0172f2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,24 +6,24 @@ LABEL maintainer="Julien Cabillot " COPY "./" "/var/www/mydl.cabillot.eu/" WORKDIR "/var/www/mydl.cabillot.eu" -RUN apt-get update && \ - apt-get -y install libssl-dev git unzip && \ +RUN apt-get -qq update && \ + apt-get -qq --yes install libssl-dev git unzip && \ pecl install mongodb && \ docker-php-ext-enable mongodb && \ groupadd -g "1007" "nginx" && \ usermod -a -G "nginx" "www-data" && \ curl "https://getcomposer.org/composer.phar" -o "composer.phar" && \ php "composer.phar" install && \ - apt-get -qqy autoremove --purge libssl-dev git unzip && \ - apt-get -qqy clean all && \ - rm -rf "/usr/share/doc/*" \ - "/var/cache/*" \ - "/var/lib/apt/lists/*" \ - "/usr/src/*" \ - "/var/cache/*" \ + apt-get -qq --yes remove --purge libssl-dev git unzip && \ + apt-get -qq --yes clean all && \ + rm -rf "/usr/share/doc/"* \ + "/var/cache/"* \ + "/var/lib/apt/lists/"* \ + "/usr/src/"* \ + "/var/cache/"* \ "/var/log/"{apt/*,dpkg.log} \ "/var/www/html" \ - "/tmp/*" && \ + "/tmp/"* && \ ln -s "/var/www/mydl.cabillot.eu/root" "/var/www/html" # TODO : ajouter les HEADER HTTPS sécurisés dans le .htaccess