File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 55# update, install required, clean
66RUN yum -y update && yum install -y httpd php php-devel wget php-pear unzip gcc-c++ && yum clean all
77
8- # install mongo drivers
9- RUN pecl install mongo && cd /etc && echo "extension=mongo.so" >> /etc/php.d/mongo.ini
8+ # update pecl channels
9+ 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
1013
1114# install RockMongo
1215RUN 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
You can’t perform that action at this time.
0 commit comments