add sodium
This commit is contained in:
parent
e52808ec48
commit
009cd7e206
3 changed files with 8 additions and 0 deletions
BIN
php-7.4-opt/.copy.Dockerfile.swp
Normal file
BIN
php-7.4-opt/.copy.Dockerfile.swp
Normal file
Binary file not shown.
|
@ -80,6 +80,12 @@ RUN cd libgd-2.1.1 \
|
|||
&& ./configure --prefix=$DEP_PREFIX \
|
||||
&& make \
|
||||
&& checkinstall -y --pkgname $PACKAGE_NAME-libgd
|
||||
RUN curl https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz > libsodium-1.0.18.tar.gz
|
||||
RUN tar xzf libsodium-1.0.18.tar.gz
|
||||
RUN cd libsodium-1.0.18 \
|
||||
&& ./configure --prefix=$DEP_PREFIX \
|
||||
&& make \
|
||||
&& checkinstall -y --pkgname $PACKAGE_NAME-libsodium
|
||||
RUN wget https://www.php.net/distributions/php-7.4.12.tar.gz
|
||||
RUN tar xzf php-7.4.12.tar.gz
|
||||
RUN cd php-7.4.12 \
|
||||
|
@ -124,6 +130,7 @@ RUN cd php-7.4.12 \
|
|||
--with-pdo-mysql \
|
||||
--with-pdo-sqlite \
|
||||
--with-pear \
|
||||
--with-sodium \
|
||||
--with-sqlite3 \
|
||||
--with-tidy \
|
||||
--with-xmlrpc \
|
||||
|
|
|
@ -10,4 +10,5 @@ COPY --from=build-stage /libjpeg-turbo-2.0.6/build/php-7.4.12-opt-libjpeg-turbo_
|
|||
COPY --from=build-stage /krb5-1.17.2/src/php-7.4.12-opt-krb5_1-1_amd64.deb .
|
||||
COPY --from=build-stage /php-7.4.12/ext/imagick-3.4.4/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb .
|
||||
COPY --from=build-stage /php-7.4.12/ext/apcu-5.1.19/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb .
|
||||
COPY --from=build-stage /libsodium-1.0.18/php-7.4.12-opt-libsodium_1.0.18-1_amd64.deb .
|
||||
|
||||
|
|
Loading…
Reference in a new issue