added mongodb image + PHP7 driver
This commit is contained in:
1 parent
e7decdaaf7
commit
9c7054abe2
3 files changed
+23
No files matched your search
@@ -23,6 +23,10 @@ RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-m
|
||||
&& docker-php-ext-install memcached \
|
||||
&& rm /tmp/memcached.tar.gz
|
||||
|
||||
# Install mongodb driver
|
||||
RUN pecl install mongodb
|
||||
RUN echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini
|
||||
|
||||
RUN usermod -u 1000 www-data
|
||||
|
||||
WORKDIR /var/www/laravel
|
||||
|
||||
Reference in new issue
Block a user