From 3c51a4176ea0b5458a144a8251734165b0fcbaa1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Jul 2026 08:01:56 +0000 Subject: [PATCH 2/2] Fix rtk binary install path in claude_desktop Dockerfile --- claude_desktop/CHANGELOG.md | 4 ++++ claude_desktop/Dockerfile | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/claude_desktop/CHANGELOG.md b/claude_desktop/CHANGELOG.md index 86e99aeb5e..844ac8c9a6 100644 --- a/claude_desktop/CHANGELOG.md +++ b/claude_desktop/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1 + +- Fix build failure: set HOME=/root when running rtk install script to ensure binary is installed to /root/.local/bin instead of /config/.local/bin (caused by LSIO base image overriding HOME) + ## 1.0 - Fix build failure: remove separate `npm` apt package (already bundled in NodeSource nodejs) diff --git a/claude_desktop/Dockerfile b/claude_desktop/Dockerfile index 58fb8da9ed..590f0358bb 100644 --- a/claude_desktop/Dockerfile +++ b/claude_desktop/Dockerfile @@ -64,7 +64,9 @@ RUN curl -fsSLo /usr/share/keyrings/claude-desktop-archive-keyring.asc https://d RUN apt-get update && \ apt-get install -y --no-install-recommends nodejs && \ pip3 install --break-system-packages "headroom-ai[all]" && \ - curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh && \ + curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh -o /tmp/rtk-install.sh && \ + HOME=/root sh /tmp/rtk-install.sh && \ + rm /tmp/rtk-install.sh && \ if [ -x /root/.local/bin/rtk ] && [ ! -x /usr/local/bin/rtk ]; then mv /root/.local/bin/rtk /usr/local/bin/rtk; fi && \ if [ -x /usr/local/bin/rtk ]; then chmod +x /usr/local/bin/rtk; else echo "rtk binary was not installed on PATH"; exit 1; fi && \ apt-get clean && \