This commit is contained in:
bel
2021-09-14 06:20:35 -06:00
commit c1b827fba3
40 changed files with 1509 additions and 0 deletions

23
mizzer/economizzer Executable file
View 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"]

3
mizzer/economizzer-build.sh Executable file
View File

@@ -0,0 +1,3 @@
#! /bin/bash
cd "$(dirname "${BASH_SOURCE[0]}")"
docker build -f economizzer -t dev:dev .