diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 65534ab..6fef4a3 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -34,6 +34,12 @@ RUN apt-get update && apt-get install -y --force-yes \ php7.0-sqlite3 \ php7.0-zip \ php7.0-memcached \ + php-dev \ + libcurl4-openssl-dev \ + libedit-dev \ + libssl-dev \ + libxml2-dev \ + xz-utils \ sqlite3 \ libsqlite3-dev \ git \ @@ -63,6 +69,10 @@ RUN curl -s http://getcomposer.org/installer | php \ && mv composer.phar /usr/local/bin/ \ && echo "alias composer='/usr/local/bin/composer.phar'" >> ~/.bashrc +# Install mongodb extension +RUN pecl install mongodb +RUN echo "extension=mongodb.so" >> /etc/php/7.0/cli/php.ini + # Source the bash RUN . ~/.bashrc