From 5de40906660ef90daa9962fa96134a3e9546ed24 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Sun, 26 Apr 2026 15:30:00 +0300 Subject: [PATCH] docs(install): fix gog/goplaces release URLs in docker-vm-runtime example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Gmail CLI lives at github.com/steipete/gogcli (with the `cli` suffix), not steipete/gog. The repo currently referenced returns 404, so the example Dockerfile fails when users try to bake the binary into their image. Both gogcli and goplaces use goreleaser-style versioned asset names (`___.tar.gz`), so `latest/download/_Linux_x86_64.tar.gz` never resolves either. Pinning to a specific release tag and using the correct asset name pattern. The gogcli tarball ships its binary as `gog` alongside LICENSE/README, so extract to /tmp and move just the binary into /usr/local/bin to keep the image clean. wacli is left unchanged for now — its repo isn't publicly accessible from the network paths I tested, so I can't verify the correct URL without guessing. --- docs/install/docker-vm-runtime.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/install/docker-vm-runtime.md b/docs/install/docker-vm-runtime.md index 3ef1843848d..e60d8bc7f66 100644 --- a/docs/install/docker-vm-runtime.md +++ b/docs/install/docker-vm-runtime.md @@ -17,7 +17,7 @@ All external binaries required by skills must be installed at image build time. The examples below show three common binaries only: -- `gog` for Gmail access +- `gog` (from `gogcli`) for Gmail access - `goplaces` for Google Places - `wacli` for WhatsApp @@ -37,13 +37,19 @@ FROM node:24-bookworm RUN apt-get update && apt-get install -y socat && rm -rf /var/lib/apt/lists/* -# Example binary 1: Gmail CLI -RUN curl -L https://github.com/steipete/gog/releases/latest/download/gog_Linux_x86_64.tar.gz \ - | tar -xz -C /usr/local/bin && chmod +x /usr/local/bin/gog +# Example binary 1: Gmail CLI (gogcli — installs as `gog`) +ARG GOGCLI_VERSION=0.13.0 +RUN curl -L https://github.com/steipete/gogcli/releases/download/v${GOGCLI_VERSION}/gogcli_${GOGCLI_VERSION}_linux_amd64.tar.gz \ + | tar -xz -C /tmp \ + && mv /tmp/gog /usr/local/bin/gog \ + && chmod +x /usr/local/bin/gog # Example binary 2: Google Places CLI -RUN curl -L https://github.com/steipete/goplaces/releases/latest/download/goplaces_Linux_x86_64.tar.gz \ - | tar -xz -C /usr/local/bin && chmod +x /usr/local/bin/goplaces +ARG GOPLACES_VERSION=0.3.0 +RUN curl -L https://github.com/steipete/goplaces/releases/download/v${GOPLACES_VERSION}/goplaces_${GOPLACES_VERSION}_linux_amd64.tar.gz \ + | tar -xz -C /tmp \ + && mv /tmp/goplaces /usr/local/bin/goplaces \ + && chmod +x /usr/local/bin/goplaces # Example binary 3: WhatsApp CLI RUN curl -L https://github.com/steipete/wacli/releases/latest/download/wacli_Linux_x86_64.tar.gz \ @@ -70,7 +76,7 @@ CMD ["node","dist/index.js"] ``` -The download URLs above are for x86_64 (amd64). For ARM-based VMs (e.g. Hetzner ARM, GCP Tau T2A), replace the download URLs with the appropriate ARM64 variants from each tool's release page. +The download URLs above are for x86_64 (amd64). For ARM-based VMs (e.g. Hetzner ARM, GCP Tau T2A), replace `linux_amd64` with `linux_arm64` in the gogcli and goplaces URLs (and check the appropriate ARM64 variant for any additional tools from each tool's release page). ## Build and launch