From deba5c1627e406c0a3d564205f638f2550952b3c Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Mon, 6 Nov 2017 19:38:15 +0100 Subject: [PATCH] =?UTF-8?q?headers=20n'est=20plus=20n=C3=A9cessaire,=20cha?= =?UTF-8?q?ngement=20du=20workdir=20sinon=20le=20git=20clone=20plante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28b53bc..931039d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,12 @@ ARG VERSION=latest FROM "registry.cabillot.eu/www/phpapache":${VERSION} MAINTAINER "Julien Cabillot " +# Nécessaire pour le git clone plus loin +WORKDIR "/var/www" + RUN apt-get update && \ apt-get -y install libpng12-dev git && \ docker-php-ext-install gd && \ apt-get clean all && \ - a2enmod headers && \ rmdir "/var/www/html" && \ git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html"