fix broken libxml2 package, add openssl to php 8.0

This commit is contained in:
lookshe 2022-03-30 23:55:45 +02:00
parent 64e65c8d7e
commit 8ff9dc0290
32 changed files with 13 additions and 2 deletions

View file

@ -50,7 +50,7 @@ RUN cd libxml2-v2.9.10 \
&& ./autogen.sh --prefix=$DEP_PREFIX \
&& make \
&& make install \
&& checkinstall -y --pkgname $PACKAGE_NAME-libxml2
&& checkinstall -y --pkgname $PACKAGE_NAME-libxml2 --pkgversion 2.9.10
RUN wget https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
RUN tar xzf cmake-2.8.12.1.tar.gz
RUN cd cmake-2.8.12.1 \
@ -105,6 +105,14 @@ RUN cd libsodium-1.0.18 \
&& ./configure --prefix=$DEP_PREFIX \
&& make \
&& checkinstall -y --pkgname $PACKAGE_NAME-libsodium
RUN curl -k "https://www.openssl.org/source/openssl-1.1.1n.tar.gz" > openssl-1.1.1n.tar.gz
RUN tar xzf openssl-1.1.1n.tar.gz
RUN cd openssl-1.1.1n \
&& ./config --prefix=$DEP_PREFIX --openssldir=$DEP_PREFIX no-idea no-mdc2 no-rc5 no-zlib no-ssl3 enable-unit-test no-ssl3-method enable-rfc3779 enable-cms enable-ec_nistp_64_gcc_128 \
&& make depend \
&& make all \
&& make test \
&& checkinstall -y --pkgname $PACKAGE_NAME-openssl
RUN wget https://www.php.net/distributions/$PHP_VERSION.tar.gz
RUN tar xzf $PHP_VERSION.tar.gz
RUN cd $PHP_VERSION \

View file

@ -11,6 +11,8 @@ COPY --from=build-stage /krb5-1.17.2/src/php-8.0.17-opt-krb5_1-1_amd64.deb .
COPY --from=build-stage /php-8.0.17/ext/imagick-3.5.1/php-8.0.17-opt-imagick_3.5.1-1_amd64.deb .
COPY --from=build-stage /php-8.0.17/ext/apcu-5.1.20/php-8.0.17-opt-apcu_5.1.20-1_amd64.deb .
COPY --from=build-stage /libsodium-1.0.18/php-8.0.17-opt-libsodium_1.0.18-1_amd64.deb .
COPY --from=build-stage /libxml2-v2.9.10/php-8.0.17-opt-libxml2_2.9.10-1_amd64.deb .
COPY --from=build-stage /openssl-1.1.1n/php-8.0.17-opt-openssl_1.1.1n-1_amd64.deb .
COPY --from=build-stage /php-8.0.17/ext/php-memcached-3.1.5/php-8.0.17-opt-memcached_3.1.5-1_amd64.deb .
COPY --from=build-stage /php-8.0.17/ext/phpredis-5.3.4/php-8.0.17-opt-redis_5.3.4-1_amd64.deb .

View file

@ -50,7 +50,7 @@ RUN cd libxml2-v2.9.10 \
&& ./autogen.sh --prefix=$DEP_PREFIX \
&& make \
&& make install \
&& checkinstall -y --pkgname $PACKAGE_NAME-libxml2
&& checkinstall -y --pkgname $PACKAGE_NAME-libxml2 --pkgversion 2.9.10
RUN wget https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
RUN tar xzf cmake-2.8.12.1.tar.gz
RUN cd cmake-2.8.12.1 \

View file

@ -11,6 +11,7 @@ COPY --from=build-stage /krb5-1.17.2/src/php-8.1.4-opt-krb5_1-1_amd64.deb .
COPY --from=build-stage /php-8.1.4/ext/imagick-3.5.1/php-8.1.4-opt-imagick_3.5.1-1_amd64.deb .
COPY --from=build-stage /php-8.1.4/ext/apcu-5.1.20/php-8.1.4-opt-apcu_5.1.20-1_amd64.deb .
COPY --from=build-stage /libsodium-1.0.18/php-8.1.4-opt-libsodium_1.0.18-1_amd64.deb .
COPY --from=build-stage /libxml2-v2.9.10/php-8.1.4-opt-libxml2_2.9.10-1_amd64.deb .
COPY --from=build-stage /openssl-1.1.1n/php-8.1.4-opt-openssl_1.1.1n-1_amd64.deb .
COPY --from=build-stage /php-8.1.4/ext/php-memcached-3.1.5/php-8.1.4-opt-memcached_3.1.5-1_amd64.deb .
COPY --from=build-stage /php-8.1.4/ext/phpredis-5.3.4/php-8.1.4-opt-redis_5.3.4-1_amd64.deb .