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
16 lines
468 B
Docker
16 lines
468 B
Docker
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
|