docs(install): fix gog/goplaces release URLs in docker-vm-runtime example

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
(`<name>_<version>_<os>_<arch>.tar.gz`), so `latest/download/<name>_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.
This commit is contained in:
Ehsan
2026-04-26 15:30:00 +03:00
parent 67b9167b80
commit 5de4090666

View File

@@ -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"]
```
<Note>
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).
</Note>
## Build and launch