diff --git a/modules/Dockerfile b/modules/Dockerfile index 9ea6df85a079979a74ae26759d9f4c8e963d7ced..de4c0a76dcc75effc23ca2e8efe6f9f1ff73abc8 100644 --- a/modules/Dockerfile +++ b/modules/Dockerfile @@ -45,9 +45,9 @@ RUN set -ex \ elif make -C /pkg-oss/debian list | grep -P "^$module\s+\d" > /dev/null; then \ echo "Building $module from pkg-oss sources"; \ cd /pkg-oss/debian; \ - make rules-module-$module BASE_VERSION=$NGINX_VERSION; \ + make rules-module-$module BASE_VERSION=$NGINX_VERSION NGINX_VERSION=$NGINX_VERSION; \ mk-build-deps --install --tool="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes" debuild-module-$module/nginx-$NGINX_VERSION/debian/control; \ - make module-$module BASE_VERSION=$NGINX_VERSION; \ + make module-$module BASE_VERSION=$NGINX_VERSION NGINX_VERSION=$NGINX_VERSION; \ find ../../ -maxdepth 1 -mindepth 1 -type f -name "*.deb" -exec mv -v {} /tmp/packages/ \;; \ else \ echo "Don't know how to build $module module, exiting"; \