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

This commit is contained in:
2025-09-06 16:08:15 +08:00
commit 63285f61aa
2624 changed files with 88491 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
FROM php:5.5-apache
LABEL maintainer=<mengbulang@Live.com>
RUN set -ex \
&& apt-get update \
&& apt-get install git -y --no-install-recommends \
&& docker-php-ext-install mysql mysqli \
&& apt-get clean \
&& cd /tmp/ \
&& git clone https://gitee.com/Discuz/DiscuzX.git \
&& cd DiscuzX \
&& git checkout d7ec4030d5bcc2be9485a2543bab85b9757e3c14 \
# d7ec4030d5bcc2be9485a2543bab85b9757e3c14 is discuzx(Release 20170801)
&& cp -r /tmp/DiscuzX/upload/* /var/www/html \
&& chown www-data:www-data -R /var/www/html/ \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/DiscuzX
EXPOSE 80

View 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/*