فهرست منبع

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 \