From 951fb1cbd95c7627d9d84aeed9f6be9a04427456 Mon Sep 17 00:00:00 2001 From: sansns Date: Fri, 21 Nov 2025 02:38:57 +0300 Subject: [PATCH] Update build_manifest.sh --- build_manifest.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/build_manifest.sh b/build_manifest.sh index 27c20aef..77e5e2d1 100644 --- a/build_manifest.sh +++ b/build_manifest.sh @@ -1,14 +1,20 @@ -#!/bin/bash +#!/usr/bin/env bash +# 🛡️ PORTABILITY: Using 'env bash' is safer across different OS distributions than hardcoding /bin/bash. + # Source this file to define the PROJECTS variable. # PROJECT elements have structure PROJECT:WORKING_DIR:DOCKERFILE:REPO. # # TODO: Generate this from build_manifest.json +# (Note: JSON generation requires adding the short 'PROJECT' alias alias to the JSON file first) # Commenting out a few projects, as the main use case is now to build the images needed to run end-to-end tests. # If wanting to just see if docker images actually build, you can temporarily uncomment required projects. + PROJECTS=( - aztec3-circuits-wasm:cpp:./dockerfiles/Dockerfile.wasm-linux-clang:aztec3-circuits-wasm-linux-clang - aztec3-circuits-wasm-assert:cpp:./dockerfiles/Dockerfile.wasm-linux-clang-assert:aztec3-circuits-wasm-linux-clang-assert - aztec3-circuits-x86_64-clang:cpp:./dockerfiles/Dockerfile.x86_64-linux-clang:aztec3-circuits-x86_64-linux-clang - aztec3-circuits-x86_64-clang-assert:cpp:./dockerfiles/Dockerfile.x86_64-linux-clang-assert:aztec3-circuits-x86_64-linux-clang-assert -) \ No newline at end of file + # 🛡️ SAFETY: Quotes added to prevent potential globbing or word-splitting issues. + # 🧹 CLEANUP: Removed redundant './' prefix from paths. + "aztec3-circuits-wasm:cpp:dockerfiles/Dockerfile.wasm-linux-clang:aztec3-circuits-wasm-linux-clang" + "aztec3-circuits-wasm-assert:cpp:dockerfiles/Dockerfile.wasm-linux-clang-assert:aztec3-circuits-wasm-linux-clang-assert" + "aztec3-circuits-x86_64-clang:cpp:dockerfiles/Dockerfile.x86_64-linux-clang:aztec3-circuits-x86_64-linux-clang" + "aztec3-circuits-x86_64-clang-assert:cpp:dockerfiles/Dockerfile.x86_64-linux-clang-assert:aztec3-circuits-x86_64-linux-clang-assert" +)