commit 1d6c9ef94dc06a85d5d809affdd20e610101a14c parent d6b58c5adccc02f1001acdc2aa2c34b25322c0d4 Author: Devan Carpenter <devan@taler.net> Date: Tue, 15 Apr 2025 18:42:16 -0500 build: allow for selecting containerfile Diffstat:
| M | sandcastle-build | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sandcastle-build b/sandcastle-build @@ -2,9 +2,12 @@ set -eu +CONTAINERFILE="${1:-Dockerfile}" + SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) cd "$SCRIPT_DIR" +echo "Building with containerfile: ${CONTAINERFILE}" # The nofile ulimit is required to prevent fakeroot from becoming sluggish. -exec podman build --ulimit=nofile=2048:2048 -f Dockerfile --target taler-final -t taler-base-all . +exec podman build --ulimit=nofile=2048:2048 -f "${CONTAINERFILE}" --target taler-final -t taler-base-all .