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:
17
base/discuzx/7.2/Dockerfile
Normal file
17
base/discuzx/7.2/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM php:5.6-apache
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& docker-php-ext-install mysql \
|
||||
&& rm -rf /var/www/html/* \
|
||||
&& cd /tmp \
|
||||
&& curl -#SL https://github.com/vulhub/discuz7/archive/2009.11.26.tar.gz -o discuz7-2009.11.26.tar.gz \
|
||||
&& tar -zxvf discuz7-2009.11.26.tar.gz \
|
||||
&& cp -r discuz7-2009.11.26/upload/* /var/www/html/ \
|
||||
&& { \
|
||||
echo "request_order=GP"; \
|
||||
echo "date.timezone=Asia/Shanghai"; \
|
||||
} | tee /usr/local/etc/php/conf.d/core.ini \
|
||||
&& chown www-data:www-data -R /var/www/html \
|
||||
&& rm -rf /tmp/*
|
Reference in New Issue
Block a user