Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
uryvskiy-dima committed Sep 24, 2023
1 parent 6535c05 commit 6c64bb5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
19 changes: 15 additions & 4 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
FROM php:7.2-fpm
FROM php:7.4-fpm

RUN apt-get update && apt-get install -y zlib1g-dev libpq-dev git libicu-dev libxml2-dev libpng-dev libjpeg-dev libmcrypt-dev libxslt-dev libfreetype6-dev unzip nano\
RUN apt-get update && apt-get install -y \
zlib1g-dev \
libpq-dev \
git \
libzip \
libicu-dev \
libxml2-dev \
libpng-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libxslt-dev \
unzip nano \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl \
&& docker-php-ext-install mysqli pdo pdo_mysql \
&& docker-php-ext-install zip \
&& docker-php-ext-install xml \
&& docker-php-ext-configure gd --with-png-dir=/usr/local/ --with-jpeg-dir=/usr/local/ --with-freetype-dir=/usr/local/ \
&& docker-php-ext-configure gd --with-jpeg=/usr/include/ --with-freetype=/usr/include/ \
&& docker-php-ext-install gd \
&& docker-php-ext-install bcmath \
&& docker-php-ext-install soap \
&& docker-php-ext-install xsl \
&& docker-php-ext-install mbstring \
&& pecl install mcrypt-1.0.1 \
&& docker-php-ext-enable mcrypt
&& docker-php-ext-enable mcryp

RUN curl -sSL https://phar.phpunit.de/phpunit-6.phar -o /usr/bin/phpunit && chmod +x /usr/bin/phpunit \
&& curl -sSL https://getcomposer.org/composer.phar -o /usr/bin/composer && chmod +x /usr/bin/composer
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/presta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
branch: '1.7.8.10'
- php-version: '7.3'
branch: '1.7.8.10'
# - php-version: '7.4'
# branch: '1.7.7.8'
# composerv1: 1
# coverage: 1
- php-version: '7.4'
branch: '1.7.7.8'
composerv1: 1
coverage: 1

services:
mysql:
Expand Down

0 comments on commit 6c64bb5

Please sign in to comment.