From 01638a060b22320795983db164d4c8ff4486148e Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Wed, 24 Jan 2018 14:27:39 -0500 Subject: [PATCH] Add php yaml extension. remove eslint in order to avoid errors. --- Dockerfile.ci | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile.ci b/Dockerfile.ci index 6c8bfbc..5749883 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -36,6 +36,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ jpegoptim \ optipng \ pngquant \ + # for yaml + libyaml-dev \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ @@ -63,8 +65,8 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di sysvsem \ sysvshm \ zip \ - && pecl install redis-2.2.8 apcu-4.0.11 raphf-1.1.2 propro-1.0.2 \ - && docker-php-ext-enable redis apcu raphf propro \ + && pecl install redis-2.2.8 apcu-4.0.11 raphf-1.1.2 propro-1.0.2 yaml-1.3.1 \ + && docker-php-ext-enable redis apcu raphf propro yaml \ && pecl install pecl_http-2.5.6 \ && docker-php-ext-enable http \ && printf "upload_max_filesize = 128M\npost_max_size = 128M" > $PHP_INI_DIR/conf.d/00-max_filesize.ini @@ -101,6 +103,6 @@ RUN apt-get update \ && echo 'deb-src https://deb.nodesource.com/node_6.x jessie main' >> /etc/apt/sources.list.d/nodesource.list \ && apt-get update \ && apt-get install nodejs \ - && npm install -g yarn eslint@v2.13.1 \ + && npm install -g yarn \ && npm cache clean --force \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*