first commit
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
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
This commit is contained in:
13
base/gitlist/0.6.0/Dockerfile
Normal file
13
base/gitlist/0.6.0/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user