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,25 @@
FROM buildpack-deps:stretch-curl
RUN set -ex \
&& apt-get update \
&& apt-get install --no-install-recommends -y make gcc libc6-dev \
&& mkdir -p /usr/src/appweb \
&& cd /usr/src/appweb \
&& wget -qO- https://github.com/vulhub/appweb7/archive/v7.0.1.tar.gz | tar zx --strip-components=1 \
&& make && make install \
&& cd / \
&& apt-get purge -y --auto-remove gcc make \
&& rm -rf /usr/src/* /var/lib/apt/lists/*
RUN { \
echo 'Documents "/var/www/appweb"'; \
echo "Listen 8080"; \
echo "<if SSL_MODULE>"; \
echo " ListenSecure 8443"; \
echo "</if>"; \
} | tee /etc/appweb/install.conf \
&& sed -i 's|ErrorLog "error.log"|ErrorLog "/dev/stdout"|g' /etc/appweb/appweb.conf
WORKDIR /etc/appweb
CMD ["appweb"]