archive
This commit is contained in:
23
mizzer/economizzer
Executable file
23
mizzer/economizzer
Executable file
@@ -0,0 +1,23 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user