Recette pour la création de l'image basée sur blueimp/jQuery-File-Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
871 B

1 year ago
3 years ago
3 years ago
2 years ago
2 years ago
  1. ARG VERSION="latest"
  2. FROM "jcabillot/phpapache:${VERSION}"
  3. LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
  4. # Nécessaire pour le git clone plus loin
  5. WORKDIR "/var/www"
  6. RUN export DEBIAN_FRONTEND="noninteractive" && \
  7. export BUILD_PACKAGES="libpng-dev git" && \
  8. apt-get -qq update && \
  9. apt-get -qq --yes install ${BUILD_PACKAGES} && \
  10. docker-php-ext-install gd && \
  11. rmdir "/var/www/html" && \
  12. git clone "https://github.com/blueimp/jQuery-File-Upload.git" "/var/www/html" && \
  13. apt-get -qq --yes remove --purge ${BUILD_PACKAGES} && \
  14. apt-get -qq --yes autoremove --purge && \
  15. apt-get -qq --yes clean all && \
  16. rm -rf "/usr/share/doc/"* \
  17. "/var/cache/"* \
  18. "/var/lib/apt/lists/"* \
  19. "/usr/src/"* \
  20. "/var/cache/"* \
  21. "/var/log/"{apt/*,dpkg.log} \
  22. "/tmp/"*