소스 검색

Fixed issue with php 7.1 and sodium extension #159

Mark Shust 6 년 전
부모
커밋
aae2494212
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      images/php/7.1/Dockerfile

+ 3 - 1
images/php/7.1/Dockerfile

@@ -33,10 +33,12 @@ RUN docker-php-ext-install \
   opcache \
   pdo_mysql \
   soap \
-  sodium \
   xsl \
   zip
 
+RUN pecl install -f libsodium-1.0.17 \
+  && echo "extension=sodium.so" > /usr/local/etc/php/conf.d/sodium.ini
+
 RUN pecl channel-update pecl.php.net \
   && pecl install xdebug \
   && docker-php-ext-enable xdebug \