From 8458248078faa6e57119ad29bfc11c446c3f411c Mon Sep 17 00:00:00 2001 From: Peter Pathirana Date: Mon, 26 May 2025 14:29:39 -0400 Subject: [PATCH 1/3] feat: add chezmoi to coder image --- images/homelab-workspace/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/images/homelab-workspace/Dockerfile b/images/homelab-workspace/Dockerfile index 54ce7ce7..0270c488 100644 --- a/images/homelab-workspace/Dockerfile +++ b/images/homelab-workspace/Dockerfile @@ -194,6 +194,15 @@ RUN --mount=type=tmpfs,target=/tmp \ install -o root -g root -m 0755 /tmp/mise /usr/local/sbin/mise && \ upx /usr/local/sbin/mise +# chezmoi +# renovate: datasource=github-releases depName=twpayne/chezmoi +ARG CHEZMOI_VERSION="2.65.2" +RUN --mount=type=tmpfs,target=/tmp \ + --mount=type=tmpfs,target=/var/log \ + --mount=type=tmpfs,target=/var/tmp \ + wget --progress=dot:giga -c https://github.com/twpayne/chezmoi/releases/download/v${CHEZMOI_VERSION}/chezmoi_${CHEZMOI_VERSION}_linux_${TARGETARCH}.tar.gz -O - | tar -xzv -C /tmp && \ + install -o root -g root -m 0755 /tmp/chezmoi /usr/local/sbin/chezmoi && \ + upx /usr/local/sbin/chezmoi # ======================================================================================================== FROM system-base From a4c2a8f57b4b7feba273a188eb324e9a61e017d0 Mon Sep 17 00:00:00 2001 From: Peter Pathirana Date: Mon, 26 May 2025 14:34:41 -0400 Subject: [PATCH 2/3] fix: fix --- images/homelab-workspace/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/homelab-workspace/Dockerfile b/images/homelab-workspace/Dockerfile index 0270c488..01161865 100644 --- a/images/homelab-workspace/Dockerfile +++ b/images/homelab-workspace/Dockerfile @@ -200,7 +200,7 @@ ARG CHEZMOI_VERSION="2.65.2" RUN --mount=type=tmpfs,target=/tmp \ --mount=type=tmpfs,target=/var/log \ --mount=type=tmpfs,target=/var/tmp \ - wget --progress=dot:giga -c https://github.com/twpayne/chezmoi/releases/download/v${CHEZMOI_VERSION}/chezmoi_${CHEZMOI_VERSION}_linux_${TARGETARCH}.tar.gz -O - | tar -xzv -C /tmp && \ + wget --progress=dot:giga -c "https://github.com/twpayne/chezmoi/releases/download/v${CHEZMOI_VERSION}/chezmoi_${CHEZMOI_VERSION}_linux_${TARGETARCH}.tar.gz" -O - | tar -xzv -C /tmp && \ install -o root -g root -m 0755 /tmp/chezmoi /usr/local/sbin/chezmoi && \ upx /usr/local/sbin/chezmoi From b86de15f752ca69a08bdd6b0b8dfc2a157b6e696 Mon Sep 17 00:00:00 2001 From: Peter Pathirana Date: Mon, 26 May 2025 14:39:21 -0400 Subject: [PATCH 3/3] fix: fix --- images/homelab-workspace/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/homelab-workspace/Dockerfile b/images/homelab-workspace/Dockerfile index 01161865..d8b65acc 100644 --- a/images/homelab-workspace/Dockerfile +++ b/images/homelab-workspace/Dockerfile @@ -196,7 +196,7 @@ RUN --mount=type=tmpfs,target=/tmp \ # chezmoi # renovate: datasource=github-releases depName=twpayne/chezmoi -ARG CHEZMOI_VERSION="2.65.2" +ARG CHEZMOI_VERSION="2.62.5" RUN --mount=type=tmpfs,target=/tmp \ --mount=type=tmpfs,target=/var/log \ --mount=type=tmpfs,target=/var/tmp \