Skip to content

Commit f31956d

Browse files
committed
Fix mk-build-deps causing build dependencies issues
1 parent 227ef72 commit f31956d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

debian/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN --mount=type=cache,id=${TARGETPLATFORM}/debian/var/cache/apt,target=/var/cac
2929
patch make wget git devscripts debhelper dpkg-dev \
3030
quilt lsb-release build-essential libxml2-utils xsltproc \
3131
equivs git g++ libparse-recdescent-perl \
32-
pkg-config libssl-dev libpcre2-dev zlib1g-dev clang \
32+
pkg-config \
3333
&& XSLSCRIPT_SHA512="f7194c5198daeab9b3b0c3aebf006922c7df1d345d454bd8474489ff2eb6b4bf8e2ffe442489a45d1aab80da6ecebe0097759a1e12cc26b5f0613d05b7c09ffa *stdin" \
3434
&& wget -O /tmp/xslscript.pl https://raw.githubusercontent.com/nginx/xslscript/9204424259c343ca08a18a78915f40f28025e093/xslscript.pl \
3535
&& if [ "$(cat /tmp/xslscript.pl | openssl sha512 -r)" = "$XSLSCRIPT_SHA512" ]; then \
@@ -89,7 +89,7 @@ RUN --mount=type=cache,id=${TARGETPLATFORM}/debian/var/cache/apt,target=/var/cac
8989
echo "Building $module from pkg-oss sources"; \
9090
cd /pkg-oss/debian; \
9191
make rules-module-$module BASE_VERSION=$NGINX_VERSION NGINX_VERSION=$NGINX_VERSION; \
92-
mk-build-deps --install --tool="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes" debuild-module-$module/nginx-$NGINX_VERSION/debian/control; \
92+
mk-build-deps --install --tool="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --fix-broken --yes" debuild-module-$module/nginx-$NGINX_VERSION/debian/control; \
9393
make module-$module BASE_VERSION=$NGINX_VERSION NGINX_VERSION=$NGINX_VERSION; \
9494
find ../../ -maxdepth 1 -mindepth 1 -type f -name "*.deb" -exec mv -v {} /tmp/packages/ \;; \
9595
BUILT_MODULES="$BUILT_MODULES $module"; \

0 commit comments

Comments
 (0)