Skip to content

Commit

Permalink
Add php yaml extension. remove eslint in order to avoid errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Jan 24, 2018
1 parent dbb6f7d commit 01638a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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/ \
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 [email protected] \
&& npm install -g yarn \
&& npm cache clean --force \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 comments on commit 01638a0

Please sign in to comment.