Add github action

This commit is contained in:
RainLoop Team 2021-01-16 17:51:14 +03:00
parent 1979f84dab
commit 20e0c1417d
17 changed files with 2038 additions and 2040 deletions

View file

@ -1,20 +1,22 @@
FROM php:7.3-fpm
# FROM php:7.3-fpm
# FROM php:7.4-fpm
FROM php:8.0-fpm
RUN apt-get update
RUN apt-get install -y \
git unzip wget zip curl mlocate \
libmcrypt-dev libicu-dev libpcre3-dev libicu-dev \
libmcrypt-dev libicu-dev libpcre3-dev \
build-essential chrpath libssl-dev \
libxft-dev libfreetype6 libfreetype6-dev \
libpng-dev libjpeg62-turbo-dev \
libfontconfig1 libfontconfig1-dev libzip-dev
RUN pecl install mcrypt-1.0.2 && \
RUN pecl install mcrypt && \
docker-php-ext-enable mcrypt
RUN docker-php-ext-configure intl && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ && \
docker-php-ext-install opcache pdo_mysql zip intl gd
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer