diff --git a/Dockerfile.lsphp b/Dockerfile.lsphp index 511167d..9c71f29 100644 --- a/Dockerfile.lsphp +++ b/Dockerfile.lsphp @@ -248,7 +248,8 @@ RUN set -e; \ rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*; \ RTV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}); \ CMV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}-common); \ - if [ "$RTV" != "$V" ] || ! $PR ok "$CMV" "$V"; then \ + LDV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}-ldap); \ + if [ "$RTV" != "$V" ] || [ "$CMV" != "$VC" ] || [ "$LDV" != "$VL" ] || ! $PR ok "$CMV" "$V"; then \ echo "FATAL: cac_path_parity.so was compiled against lsphp${PHPVER} $V but this" >&2; \ echo " image would ship lsphp${PHPVER}=$RTV / -common=$CMV." >&2; \ echo " Rebuild with --no-cache so both stages resolve the same release." >&2; \