]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
Hide php versions from poldek
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 21 Nov 2022 11:17:53 +0000 (13:17 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 22 Feb 2023 19:11:02 +0000 (21:11 +0200)
docker/Dockerfile

index 75b54dae3b1027e080908923f643cb50fbea94f7..15c394eff04c973931bb8a109a56eff0ffc21693 100644 (file)
@@ -26,6 +26,12 @@ RUN --mount=type=cache,id=poldek,target=/var/cache/poldek \
        set -x \
        # enable to preserve downloaded packages
        && poldek-config keep_downloads yes \
+       # disable mixed php versions
+       # remove current php flavor from exclude list
+       && PHP_VERSION=5.3 \
+       && IGNORE_PACKAGES="systemd-init *php4* *php52* *php53* *php54* *php55* *php56* *php70* *php71* *php72* *php73* *php74* *php80* *php81* *php82**" \
+       && IGNORE_PACKAGES=$(echo "$IGNORE_PACKAGES" | sed -e "s/ \*php${PHP_VERSION/./}\*//") \
+       && poldek-config ignore "$IGNORE_PACKAGES" \
        # first upgrade to latest
        && poldek --up --upgrade-dist \
        # install build deps
This page took 0.071843 seconds and 4 git commands to generate.