From 95aaf23a477fd665153b38ca4df8ac3c8fd24a57 Mon Sep 17 00:00:00 2001 From: Trevor Starick Date: Tue, 17 Feb 2026 16:41:55 -0500 Subject: [PATCH] fix: remove trailing backslash (#60) * feat: add REPO/BRANCH build args for llama.cpp - Introduce ARG REPO and ARG BRANCH to replace the hardcoded git clone with: `git clone -b ${BRANCH} --single-branch --recursive ${REPO}` . This allows overriding the llama.cpp repository and branch at build time via `--build-arg`. - Update `docs/building.md` to recommend using `--build-arg` instead of updating the file * fix: remove trailing backslash --- toolboxes/Dockerfile.rocm-6.4.4 | 2 +- toolboxes/Dockerfile.rocm-7.2 | 2 +- toolboxes/Dockerfile.vulkan-amdvlk | 2 +- toolboxes/Dockerfile.vulkan-radv | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/toolboxes/Dockerfile.rocm-6.4.4 b/toolboxes/Dockerfile.rocm-6.4.4 index bdcca45..f23f256 100644 --- a/toolboxes/Dockerfile.rocm-6.4.4 +++ b/toolboxes/Dockerfile.rocm-6.4.4 @@ -13,7 +13,7 @@ RUN dnf -y --nodocs --setopt=install_weak_deps=False \ WORKDIR /opt/llama.cpp ARG REPO=https://github.com/ggerganov/llama.cpp.git ARG BRANCH=master -RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . \ +RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . # build + install RUN git clean -xdf \ diff --git a/toolboxes/Dockerfile.rocm-7.2 b/toolboxes/Dockerfile.rocm-7.2 index d8a4b1a..097b9ca 100644 --- a/toolboxes/Dockerfile.rocm-7.2 +++ b/toolboxes/Dockerfile.rocm-7.2 @@ -36,7 +36,7 @@ ENV ROCM_PATH=/opt/rocm \ WORKDIR /opt/llama.cpp ARG REPO=https://github.com/ggerganov/llama.cpp.git ARG BRANCH=master -RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . \ +RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . # build RUN git clean -xdf \ diff --git a/toolboxes/Dockerfile.vulkan-amdvlk b/toolboxes/Dockerfile.vulkan-amdvlk index ad08071..ebf78a2 100644 --- a/toolboxes/Dockerfile.vulkan-amdvlk +++ b/toolboxes/Dockerfile.vulkan-amdvlk @@ -19,7 +19,7 @@ RUN curl -L -o /tmp/amdvlk-2025.Q2.1.x86_64.rpm \ WORKDIR /opt/llama.cpp ARG REPO=https://github.com/ggerganov/llama.cpp.git ARG BRANCH=master -RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . \ +RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . # build RUN git clean -xdf \ diff --git a/toolboxes/Dockerfile.vulkan-radv b/toolboxes/Dockerfile.vulkan-radv index d482eac..60d2295 100644 --- a/toolboxes/Dockerfile.vulkan-radv +++ b/toolboxes/Dockerfile.vulkan-radv @@ -13,7 +13,7 @@ RUN dnf -y --nodocs --setopt=install_weak_deps=False install \ WORKDIR /opt/llama.cpp ARG REPO=https://github.com/ggerganov/llama.cpp.git ARG BRANCH=master -RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . \ +RUN git clone -b ${BRANCH} --single-branch --recursive ${REPO} . # build RUN git clean -xdf \