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.
1 files changed
+8 −2
M
INSTALL.md
+8 −2
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
```