24 lines
753 B
Plaintext
Executable File
24 lines
753 B
Plaintext
Executable File
FROM centos:7.5.1804
|
|
|
|
RUN yum install -y epel-release yum-utils \
|
|
&& yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm \
|
|
&& yum-config-manager --enable remi-php72 \
|
|
&& yum install -y php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd
|
|
|
|
RUN yum install -y libapache2-mod-php php-mbstring php-xml git unzip
|
|
|
|
RUN cd / \
|
|
&& curl -sS https://getcomposer.org/installer \
|
|
| php
|
|
|
|
RUN yum install -y php-pecl-zip
|
|
|
|
RUN cd / \
|
|
&& git clone https://github.com/gugoan/economizzer.git \
|
|
&& ls \
|
|
&& cd /economizzer \
|
|
&& php /composer.phar global require "fxp/composer-asset-plugin:^1.3.1" phpoffice/phpspreadsheet ext-zip kartik-v/yii2-export \
|
|
&& php /composer.phar install
|
|
|
|
ENTRYPOINT ["bash"]
|