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
17 lines
642 B
Docker
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/*
|