Gitfed
bastien-mrq/gitfed/ Commits/ 6e4d93c

Fix gitfed-ctl install instructions: the VPS has no system Go

Verified live against the VPS — go install as documented would fail with "command not found". Docker build already handles compiling gitfed inside a container, so nothing in the install flow puts Go on the host itself. Use a throwaway golang container instead, writing straight into /usr/local/bin.

bastien-mrq 2026-07-29 18:04 commit 6e4d93c3b04037b477871fe046972a826d533c76 parent 0ad01f7281538649ce047e8fb072c30518dba9e5
1 files changed +8 −2
M INSTALL.md +8 −2
INSTALL.md
diff --git a/INSTALL.md b/INSTALL.md index 00520aa..f16e144 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -287,10 +287,16 @@ Si ça fonctionne, l'installation est terminée. précis — il tourne directement sur le VPS (pas de `rsync`/SSH vers soi-même, donc pas de mot de passe redemandé à chaque étape), affiche les nouvelles versions disponibles avec leur changelog, et fait - acquitter individuellement tout changement cassant avant de continuer : + acquitter individuellement tout changement cassant avant de continuer. + + Le VPS n'a pas `go` installé (le build de gitfed se fait dans un + conteneur, pas besoin de `go` sur l'hôte normalement) — installe-le + via un conteneur Go jetable, qui écrit le binaire directement dans + `/usr/local/bin` : ```sh - GOPRIVATE=git.neuromancer.ovh/* go install git.neuromancer.ovh/bastien-mrq/gitfed/cmd/gitfed-ctl@latest + docker run --rm -e GOPRIVATE=git.neuromancer.ovh/* -e GOBIN=/out -v /usr/local/bin:/out \ + golang:1.25-bookworm go install git.neuromancer.ovh/bastien-mrq/gitfed/cmd/gitfed-ctl@latest cd ~/gitfed-src # ou ton propre checkout sur le VPS sudo gitfed-ctl ```