From 0032511d3d189d66f1679beda9835bd6819daf79 Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Fri, 26 Jun 2026 09:35:01 +0200 Subject: [PATCH] feat: mount all features This enables dynamic discovery of requirements.mod files Signed-off-by: Eike Waldt On-behalf-of: SAP --- build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build b/build index aebd69b..690cb73 100755 --- a/build +++ b/build @@ -81,11 +81,8 @@ container_mount_opts=( -v "$(realpath "$target_dir"):/builder/.build" ) -for feature in features/*; do - if [ -d "$feature" ]; then - container_mount_opts+=(-v "$(realpath -- "$feature"):/builder/$feature:ro") - fi -done +# mount all features to enable dynamic discovery of requirements.mod files +container_mount_opts+=(-v "$(realpath -- "features"):/builder/features:ro") if [ "$container_image" = localhost/builder ]; then dir="$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")"