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