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
15 lines
546 B
Docker
15 lines
546 B
Docker
FROM php:7.4-apache
|
|
|
|
LABEL maintainer="phithon <root@leavesongs.com>"
|
|
|
|
RUN set -ex \
|
|
&& apt-get update \
|
|
&& apt-get install -y --no-install-recommends libfreetype-dev libjpeg62-turbo-dev libpng-dev libzip-dev wget ca-certificates \
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
|
&& docker-php-ext-install -j$(nproc) gd zip
|
|
|
|
RUN set -ex \
|
|
&& cd /var/www/html \
|
|
&& wget -qO- https://github.com/star7th/showdoc/archive/refs/tags/v3.2.4.tar.gz | tar xz --strip-components=1 \
|
|
&& chown www-data:www-data -R .
|