@@ -94,6 +94,7 @@ RUN CFLAGS="" \
9494 --prefix=${INSTALL_DIR} \
9595 --openssldir=${INSTALL_DIR}/bref/ssl \
9696 --release \
97+ enable-tls1_3 \
9798 no-tests \
9899 shared \
99100 zlib
@@ -106,6 +107,39 @@ RUN make -j1 install_sw install_ssldirs
106107RUN mkdir -p ${INSTALL_DIR}/bref/ssl && curl -Lk -o ${CA_BUNDLE} ${CA_BUNDLE_SOURCE}
107108
108109
110+ # ##############################################################################
111+ # LIBXML2
112+ # https://github.com/GNOME/libxml2/releases
113+ # Uses:
114+ # - zlib
115+ # Needed by:
116+ # - php
117+ # - libnghttp2
118+ ENV VERSION_XML2=2.11.2
119+ ENV XML2_BUILD_DIR=${BUILD_DIR}/xml2
120+ RUN set -xe; \
121+ mkdir -p ${XML2_BUILD_DIR}; \
122+ curl -Ls https://download.gnome.org/sources/libxml2/${VERSION_XML2%.*}/libxml2-${VERSION_XML2}.tar.xz \
123+ | tar xJC ${XML2_BUILD_DIR} --strip-components=1
124+ WORKDIR ${XML2_BUILD_DIR}/
125+ RUN CFLAGS="" \
126+ CPPFLAGS="-I${INSTALL_DIR}/include -I/usr/include" \
127+ LDFLAGS="-L${INSTALL_DIR}/lib64 -L${INSTALL_DIR}/lib" \
128+ ./configure \
129+ --prefix=${INSTALL_DIR} \
130+ --with-sysroot=${INSTALL_DIR} \
131+ --enable-shared \
132+ --disable-static \
133+ --with-html \
134+ --with-history \
135+ --enable-ipv6=no \
136+ --with-icu \
137+ --with-zlib \
138+ --without-python
139+ RUN make install \
140+ && cp xml2-config ${INSTALL_DIR}/bin/xml2-config
141+
142+
109143# ##############################################################################
110144# LIBSSH2
111145# https://github.com/libssh2/libssh2/releases
@@ -144,6 +178,7 @@ RUN cmake --build . --target install
144178# Needs:
145179# - zlib
146180# - OpenSSL
181+ # - libxml2
147182# Needed by:
148183# - curl
149184ENV VERSION_NGHTTP2=1.53.0
@@ -169,9 +204,10 @@ RUN make install
169204# # - zlib
170205# # - OpenSSL
171206# # - libssh2
207+ # # - libnghttp2
172208# # Needed by:
173209# # - php
174- ENV VERSION_CURL=7.85 .0
210+ ENV VERSION_CURL=8.1 .0
175211ENV CURL_BUILD_DIR=${BUILD_DIR}/curl
176212RUN set -xe; \
177213 mkdir -p ${CURL_BUILD_DIR}/bin; \
@@ -206,38 +242,6 @@ RUN ./buildconf \
206242RUN make install
207243
208244
209- # ##############################################################################
210- # LIBXML2
211- # https://github.com/GNOME/libxml2/releases
212- # Uses:
213- # - zlib
214- # Needed by:
215- # - php
216- ENV VERSION_XML2=2.11.2
217- ENV XML2_BUILD_DIR=${BUILD_DIR}/xml2
218- RUN set -xe; \
219- mkdir -p ${XML2_BUILD_DIR}; \
220- curl -Ls https://download.gnome.org/sources/libxml2/${VERSION_XML2%.*}/libxml2-${VERSION_XML2}.tar.xz \
221- | tar xJC ${XML2_BUILD_DIR} --strip-components=1
222- WORKDIR ${XML2_BUILD_DIR}/
223- RUN CFLAGS="" \
224- CPPFLAGS="-I${INSTALL_DIR}/include -I/usr/include" \
225- LDFLAGS="-L${INSTALL_DIR}/lib64 -L${INSTALL_DIR}/lib" \
226- ./configure \
227- --prefix=${INSTALL_DIR} \
228- --with-sysroot=${INSTALL_DIR} \
229- --enable-shared \
230- --disable-static \
231- --with-html \
232- --with-history \
233- --enable-ipv6=no \
234- --with-icu \
235- --with-zlib \
236- --without-python
237- RUN make install \
238- && cp xml2-config ${INSTALL_DIR}/bin/xml2-config
239-
240-
241245# ##############################################################################
242246# LIBZIP
243247# https://github.com/nih-at/libzip/releases
0 commit comments