We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bb7e19 + d9f9313 commit f381a9eCopy full SHA for f381a9e
centos-rockmongo/Dockerfile
@@ -5,8 +5,11 @@ MAINTAINER Derek Carr <[email protected]>
5
# update, install required, clean
6
RUN yum -y update && yum install -y httpd php php-devel wget php-pear unzip gcc-c++ && yum clean all
7
8
-#install mongo drivers
9
-RUN pecl install mongo && cd /etc && echo "extension=mongo.so" >> /etc/php.d/mongo.ini
+# update pecl channels
+RUN pecl update-channels
10
+
11
+# install mongo drivers without Cyrus SASL (MongoDB Enterprise Authentication)
12
+RUN printf "no\n" | pecl install mongo && cd /etc && echo "extension=mongo.so" >> /etc/php.d/mongo.ini
13
14
# install RockMongo
15
RUN cd /root && wget -O rockmongo-1.1.5.zip http://rockmongo.com/downloads/go?id=12 && unzip rockmongo-1.1.5.zip -d /var/www/ && rm -R /var/www/html && mv /var/www/rockmongo/ /var/www/html
0 commit comments