Skip to content

Commit 1281490

Browse files
authored
Merge pull request laradock#1168 from nunomazer/master
Add pecl before mongo install on Dockerfile-56 to stop mongodb breaking building
2 parents 615cb72 + 3f79880 commit 1281490

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

workspace/Dockerfile-56

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ ARG INSTALL_MONGO=false
189189
ENV INSTALL_MONGO ${INSTALL_MONGO}
190190
RUN if [ ${INSTALL_MONGO} = true ]; then \
191191
# Install the mongodb extension
192+
pecl channel-update pecl.php.net && \
192193
pecl install mongodb && \
193194
echo "extension=mongodb.so" >> /etc/php/5.6/mods-available/mongodb.ini && \
194195
ln -s /etc/php/5.6/mods-available/mongodb.ini /etc/php/5.6/cli/conf.d/30-mongodb.ini \

0 commit comments

Comments
 (0)