Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions build_manifest.sh
Original file line number Diff line number Diff line change
@@ -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
)
# 🛡️ 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"
)