Skip to content

Commit

Permalink
- optimize Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
r-brown committed Dec 17, 2019
1 parent 1f75f68 commit dcd622d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:37:"PHPUnit\Runner\DefaultTestResultCache":203:{a:2:{s:7:"defects";a:1:{s:40:"Tests\Feature\ExampleTest::testBasicTest";i:3;}s:5:"times";a:2:{s:40:"Tests\Feature\ExampleTest::testBasicTest";d:1.839;s:37:"Tests\Unit\ExampleTest::testBasicTest";d:0.2;}}}
C:37:"PHPUnit\Runner\DefaultTestResultCache":205:{a:2:{s:7:"defects";a:1:{s:40:"Tests\Feature\ExampleTest::testBasicTest";i:3;}s:5:"times";a:2:{s:40:"Tests\Feature\ExampleTest::testBasicTest";d:1.126;s:37:"Tests\Unit\ExampleTest::testBasicTest";d:0.092;}}}
48 changes: 23 additions & 25 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,29 @@ RUN yum module list | grep php
RUN yum module -y install php:7.2
RUN php -v

RUN yum -y install php
RUN yum -y install php-bcmath
RUN yum -y install php-cli
RUN yum -y install php-common
RUN yum -y install php-curl
RUN yum -y install php-fpm
RUN yum -y install php-gd
RUN yum -y install php-ldap
RUN yum -y install php-intl
RUN yum -y install php-mbstring
RUN yum -y install php-mysqlnd
RUN yum -y install php-opcache
RUN yum -y install php-pdo
RUN yum -y install php-pear
RUN yum -y install php-pecl-apcu
RUN yum -y install php-pgsql
RUN yum -y install php-process
RUN yum -y install php-recode
RUN yum -y install php-soap
RUN yum -y install php-xml
#RUN yum -y install php-imap
#RUN yum -y install php-mcrypt
#RUN yum -y install php-pecl-imagick
#RUN yum -y install php-pspell
#RUN yum -y install php-tidy
RUN yum -y install \
php \
php-bcmath \
php-cli \
php-common \
php-curl \
php-fpm \
php-gd \
php-ldap \
php-intl \
php-mbstring \
php-mysqlnd \
php-opcache \
php-pdo \
php-pear \
php-pecl-apcu \
php-pgsql \
php-process \
php-recode \
php-soap \
php-xml

#RUN yum -y install php-imap php-mcrypt php-pecl-imagick php-pspell php-tidy

# Prepare PHP environment
COPY config/php/php-fpm.conf /etc/php-fpm.conf
Expand Down

0 comments on commit dcd622d

Please sign in to comment.