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 5
5
# update, install required, clean
6
6
RUN yum -y update && yum install -y httpd php php-devel wget php-pear unzip gcc-c++ && yum clean all
7
7
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
10
13
11
14
# install RockMongo
12
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
You can’t perform that action at this time.
0 commit comments