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:
11
base/ghostscript/9.21/Dockerfile
Normal file
11
base/ghostscript/9.21/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM debian:stretch
|
||||
|
||||
LABEL maintainer="phith0n <root@leavesongs.com>"
|
||||
|
||||
ADD https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-9.21-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/*
|
15
base/ghostscript/9.21/with-flask/Dockerfile
Normal file
15
base/ghostscript/9.21/with-flask/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM vulhub/ghostscript:9.21
|
||||
|
||||
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==0.12.2" "Pillow==4.2.1"
|
||||
|
||||
WORKDIR /usr/src
|
Reference in New Issue
Block a user