Merge pull request #122 from LaraDock/Hotfix/mongo

Hotfix/mongo
This commit is contained in:
Mahmoud Zalt 2016-06-27 14:00:09 +03:00 committed by GitHub
commit 243392444f
3 changed files with 12 additions and 9 deletions

View File

@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
curl \
libpng12-dev \
libfreetype6-dev \
libssl-dev \
libmcrypt-dev \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
@ -18,6 +19,9 @@ RUN apt-get update && apt-get install -y \
# install mcrypt library
RUN docker-php-ext-install mcrypt
# Install mongodb driver
RUN pecl install mongodb
# configure gd library
RUN docker-php-ext-configure gd \
--enable-gd-native-ttf \
@ -37,9 +41,6 @@ RUN pecl install memcached \
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
# Install mongodb driver
RUN pecl install mongodb
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel

View File

@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
curl \
libpng12-dev \
libfreetype6-dev \
libssl-dev \
libmcrypt-dev \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
@ -18,6 +19,9 @@ RUN apt-get update && apt-get install -y \
# install mcrypt library
RUN docker-php-ext-install mcrypt
# Install mongodb driver
RUN pecl install mongodb
# configure gd library
RUN docker-php-ext-configure gd \
--enable-gd-native-ttf \
@ -37,9 +41,6 @@ RUN pecl install memcached \
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
# Install mongodb driver
RUN pecl install mongodb
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel

View File

@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
curl \
libpng12-dev \
libfreetype6-dev \
libssl-dev \
libmcrypt-dev \
--no-install-recommends \
&& rm -r /var/lib/apt/lists/*
@ -18,6 +19,9 @@ RUN apt-get update && apt-get install -y \
# install mcrypt library
RUN docker-php-ext-install mcrypt
# Install mongodb driver
RUN pecl install mongodb
# configure gd library
RUN docker-php-ext-configure gd \
--enable-gd-native-ttf \
@ -41,9 +45,6 @@ RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-m
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
# Install mongodb driver
RUN pecl install mongodb
RUN usermod -u 1000 www-data
WORKDIR /var/www/laravel