dl/Dockerfile

15 lines
494 B
Docker
Raw Normal View History

2017-11-06 19:44:59 +01:00
ARG VERSION="latest"
FROM "registry.cabillot.eu/www/phpapache:${VERSION}"
2017-11-06 19:32:14 +01:00
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
2017-10-31 13:22:54 +00:00
# Nécessaire pour le git clone plus loin
WORKDIR "/var/www"
2017-11-06 19:32:14 +01:00
RUN apt-get update && \
apt-get -y install libpng12-dev git && \
2017-10-31 13:22:54 +00:00
docker-php-ext-install gd && \
apt-get clean all && \
2017-11-06 19:32:14 +01:00
rmdir "/var/www/html" && \
2017-11-06 19:44:59 +01:00
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html" && \
apt-get -y autoremove --purge git libpng12-dev