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,11 @@
FROM debian:stretch
LABEL maintainer="phith0n <root@leavesongs.com>"
ADD https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/ghostscript-9.23-linux-x86_64.tgz /tmp/ghostscript.tgz
RUN set -ex \
&& tar zxf /tmp/ghostscript.tgz --strip-components 1 -C /tmp/ \
&& mkdir -p /opt/ghostscript \
&& mv /tmp/gs-* /usr/local/bin/gs \
&& rm -rf /tmp/*

View File

@@ -0,0 +1,15 @@
FROM vulhub/ghostscript:9.23
LABEL maintainer="phith0n <root@leavesongs.com>"
RUN set -ex \
&& apt-get update \
&& apt-get install --no-install-recommends -y python3 python3-pip python3-setuptools \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 100 \
&& rm -rf /var/lib/apt/lists/*
RUN set -ex \
&& python3 -m pip install "pip==19.3.1" \
&& python3 -m pip install "flask==1.0.2" "Pillow==5.3.0"
WORKDIR /usr/src