dl/Dockerfile
Julien Cabillot 97fd3007ed
All checks were successful
Web/dl/master This commit looks good
Web/dl/pipeline/head This commit looks good
web/dl/pipeline/head This commit looks good
Change from
2020-01-17 10:50:50 -05:00

26 lines
871 B
Docker

ARG VERSION="latest"
FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
# Nécessaire pour le git clone plus loin
WORKDIR "/var/www"
RUN export DEBIAN_FRONTEND="noninteractive" && \
export BUILD_PACKAGES="libpng-dev git" && \
apt-get -qq update && \
apt-get -qq --yes install ${BUILD_PACKAGES} && \
docker-php-ext-install gd && \
rmdir "/var/www/html" && \
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html" && \
apt-get -qq --yes remove --purge ${BUILD_PACKAGES} && \
apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \
rm -rf "/usr/share/doc/"* \
"/var/cache/"* \
"/var/lib/apt/lists/"* \
"/usr/src/"* \
"/var/cache/"* \
"/var/log/"{apt/*,dpkg.log} \
"/tmp/"*