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:
18
base/cmsms/2.2.9.1/Dockerfile
Normal file
18
base/cmsms/2.2.9.1/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM php:7.2-apache
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends unzip libfreetype6-dev libjpeg62-turbo-dev libpng-dev libzip-dev \
|
||||
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
|
||||
&& docker-php-ext-install -j$(nproc) gd mysqli zip \
|
||||
&& echo "output_buffering=4096\ndisplay_errors=Off\nerror_reporting=0" >> /usr/local/etc/php/conf.d/cmsms.ini \
|
||||
&& curl -L -o /tmp/cmsms-2.2.9.1-install.zip http://s3.amazonaws.com/cmsms/downloads/14316/cmsms-2.2.9.1-install.zip \
|
||||
&& unzip -d /var/www/html /tmp/cmsms-2.2.9.1-install.zip \
|
||||
&& mv /var/www/html/cmsms-2.2.9.1-install.php /var/www/html/install.php \
|
||||
&& chown www-data:www-data -R /var/www/html \
|
||||
&& a2enmod rewrite \
|
||||
&& rm -rf /tmp/cmsms-2.2.9.1-install.zip
|
||||
|
||||
EXPOSE 80
|
Reference in New Issue
Block a user