dl/Dockerfile
2017-11-06 19:44:59 +01:00

15 lines
494 B
Docker

ARG VERSION="latest"
FROM "registry.cabillot.eu/www/phpapache:${VERSION}"
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
# 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 && \
rmdir "/var/www/html" && \
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html" && \
apt-get -y autoremove --purge git libpng12-dev