ARG  VERSION=latest
FROM "registry.cabillot.eu/www/phpapache":${VERSION}
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"

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"
