Files
dl/Dockerfile
T
opencodecabilloteu 106da2aef4
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / build (pull_request) Successful in 1m27s
Docker Build and Push / test (pull_request) Successful in 34s
Docker Build and Push / push (pull_request) Has been skipped
fix: add hadolint ignore for apt pinning and brace expansion
2026-06-08 19:17:30 +00:00

27 lines
910 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"
# hadolint ignore=DL3008,DL3015,SC3009
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/"*