From f4d5a892b1e4e9355ac462b267c5ed35a84268c2 Mon Sep 17 00:00:00 2001 From: Norie Date: Fri, 22 May 2020 13:43:25 +0800 Subject: [PATCH] fixed mongodb can not authentication The SCRAM_SHA_256 authentication mechanism requires libmongoc built with ENABLE_SSL. But current versio not support. --- php-worker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-worker/Dockerfile b/php-worker/Dockerfile index 2524dea..9568177 100644 --- a/php-worker/Dockerfile +++ b/php-worker/Dockerfile @@ -32,6 +32,8 @@ RUN apk --update add wget \ cyrus-sasl-dev \ libgsasl-dev \ oniguruma-dev \ + openssl \ + openssl-dev \ supervisor RUN docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl