Files
vulhub/base/pdfjs/4.1.392/Dockerfile
Aaron 63285f61aa
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
first commit
2025-09-06 16:08:15 +08:00

15 lines
520 B
Docker

FROM php:8.3-apache
LABEL maintainer="phithon <root@leavesongs.com>"
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends unzip \
&& curl -sSLo /tmp/pdfjs-4.1.392-dist.zip https://github.com/mozilla/pdf.js/releases/download/v4.1.392/pdfjs-4.1.392-dist.zip \
&& unzip -d /var/www/html /tmp/pdfjs-4.1.392-dist.zip \
&& rm -rf /tmp/pdfjs-4.1.392-dist.zip /var/lib/apt/lists/
RUN set -ex \
&& mkdir /var/www/html/upload \
&& chown www-data:www-data -R /var/www/html