Files
vulhub/base/gitlist/0.6.0/Dockerfile
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

14 lines
477 B
Docker

FROM php:7.1-apache
LABEL maintainer="phithon <root@leavesongs.com>"
COPY config.ini /var/www/html/
ENV GITLIST_LINK https://github.com/klaussilveira/gitlist/releases/download/0.6.0/gitlist-0.6.0.tar.gz
RUN apt-get update && apt-get install -y wget git \
&& find /var/lib/apt/lists -type f -exec rm {} \; \
&& curl -sL $GITLIST_LINK | tar --strip-components 1 -C /var/www/html -xzf - \
&& mkdir /var/www/html/cache && chmod 777 /var/www/html/cache \
&& a2enmod rewrite