mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-01 22:12:42 +02:00
Fix rtk binary install path in claude_desktop Dockerfile
This commit is contained in:
committed by
GitHub
parent
cf070880c8
commit
3c51a4176e
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# 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
|
## 1.0
|
||||||
|
|
||||||
- Fix build failure: remove separate `npm` apt package (already bundled in NodeSource nodejs)
|
- Fix build failure: remove separate `npm` apt package (already bundled in NodeSource nodejs)
|
||||||
|
|||||||
@@ -64,7 +64,9 @@ RUN curl -fsSLo /usr/share/keyrings/claude-desktop-archive-keyring.asc https://d
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends nodejs && \
|
apt-get install -y --no-install-recommends nodejs && \
|
||||||
pip3 install --break-system-packages "headroom-ai[all]" && \
|
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 /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 && \
|
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 && \
|
apt-get clean && \
|
||||||
|
|||||||
Reference in New Issue
Block a user