This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM adminer:4.8.0 | |
# WATCH OUT WHEN UPGRADING, THE SED BELOW MIGHT STOP WORKING | |
USER root | |
RUN apk add autoconf gcc g++ make libffi-dev openssl-dev | |
RUN pecl install mongodb | |
RUN echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini | |
# MongoDB allows connections without password. | |
# But that doesn't fly with Adminer which prints 'Database does not support password.' for such case. |