updated php to 7.1, added nodejs, npm, yarn to php CT
This commit is contained in:
parent
61e6285d1e
commit
a3d056ea75
@ -1,4 +1,4 @@
|
|||||||
FROM php:7.0-fpm
|
FROM php:7.1-fpm
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
@ -16,8 +16,8 @@ RUN apt-get update && apt-get install -y \
|
|||||||
docker-php-ext-install opcache && \
|
docker-php-ext-install opcache && \
|
||||||
docker-php-ext-install bcmath && \
|
docker-php-ext-install bcmath && \
|
||||||
apt-get install -y git vim && \
|
apt-get install -y git vim && \
|
||||||
pecl install redis-3.1.0 && \
|
pecl install redis-4.3.0 && \
|
||||||
pecl install xdebug-2.5.0 && \
|
pecl install xdebug-2.7.0 && \
|
||||||
docker-php-ext-enable redis xdebug
|
docker-php-ext-enable redis xdebug
|
||||||
|
|
||||||
RUN export COMPOSER_HOME=/usr/local/composer && \
|
RUN export COMPOSER_HOME=/usr/local/composer && \
|
||||||
@ -34,3 +34,10 @@ COPY ./php-custom.ini /usr/local/etc/php/conf.d/php-custom.ini
|
|||||||
|
|
||||||
COPY ./bashrc /root/.bashrc
|
COPY ./bashrc /root/.bashrc
|
||||||
COPY ./inputrc /root/.inputrc
|
COPY ./inputrc /root/.inputrc
|
||||||
|
|
||||||
|
RUN apt-get install -y curl && \
|
||||||
|
curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
||||||
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||||
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y nodejs yarn
|
||||||
|
@ -92,6 +92,7 @@ services:
|
|||||||
- database
|
- database
|
||||||
- redis
|
- redis
|
||||||
- server
|
- server
|
||||||
|
- solr
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-legacy
|
- mysql-legacy
|
||||||
- redis-legacy
|
- redis-legacy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user