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
18 lines
508 B
Docker
18 lines
508 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 unzip zip
|
|
|
|
RUN set -ex \
|
|
&& cd /var/www/html/ \
|
|
&& curl -sSL https://github.com/Studio-42/elFinder/archive/2.1.58.tar.gz | tar --strip-components 1 -xz
|
|
|
|
RUN set -ex \
|
|
&& cd /var/www/html/ \
|
|
&& mv ./php/connector.minimal.php-dist ./php/connector.minimal.php \
|
|
&& cp elfinder.html index.html \
|
|
&& chown www-data:www-data -R ./
|