瀏覽代碼

fixed mongodb can not authentication

The SCRAM_SHA_256 authentication mechanism requires libmongoc built with ENABLE_SSL. But current versio not support.
Norie 4 年之前
父節點
當前提交
f4d5a892b1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      php-worker/Dockerfile

+ 2 - 0
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