-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add php yaml extension. remove eslint in order to avoid errors.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] \ | ||
&& npm install -g yarn \ | ||
&& npm cache clean --force \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |