headers n'est plus nécessaire, changement du workdir sinon le git clone plante
This commit is contained in:
parent
aca1c471c6
commit
deba5c1627
@ -2,10 +2,12 @@ ARG VERSION=latest
|
|||||||
FROM "registry.cabillot.eu/www/phpapache":${VERSION}
|
FROM "registry.cabillot.eu/www/phpapache":${VERSION}
|
||||||
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
|
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
|
# Nécessaire pour le git clone plus loin
|
||||||
|
WORKDIR "/var/www"
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y install libpng12-dev git && \
|
apt-get -y install libpng12-dev git && \
|
||||||
docker-php-ext-install gd && \
|
docker-php-ext-install gd && \
|
||||||
apt-get clean all && \
|
apt-get clean all && \
|
||||||
a2enmod headers && \
|
|
||||||
rmdir "/var/www/html" && \
|
rmdir "/var/www/html" && \
|
||||||
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html"
|
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user