Files
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

17 lines
642 B
Docker

FROM vulhub/php:5.6-apache
LABEL maintainer="phithon <root@leavesongs.com>"
COPY www/* /var/www/html/
RUN set -ex \
&& rm /etc/apt/sources.list \
&& echo "deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list.d/jessie.list \
&& echo "deb [trusted=yes] http://archive.debian.org/debian jessie main" >> /etc/apt/sources.list.d/jessie.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends git \
&& cd /var/www/html/ \
&& curl -sSL https://getcomposer.org/installer | php \
&& php composer.phar install \
&& rm -rf /var/lib/apt/lists/*