[projects/cleanbuild] Hide php versions from poldek

glen glen at pld-linux.org
Wed Feb 22 20:11:43 CET 2023


commit 3c96e4205ce7776e459de2b69f39badde3c2b44e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Nov 21 13:17:53 2022 +0200

    Hide php versions from poldek

 docker/Dockerfile | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 75b54da..15c394e 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/c5f5a91e45b1a2a6e188727388d68219a4549a1b



More information about the pld-cvs-commit mailing list