C2(upgrade-grafana): plan document grafana binary PATH lesson
Discovered during deployment: the grafana binary lives at bin/grafana inside the extracted directory, not on $PATH. The Dockerfile must set PATH or use the full path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b2c3dc527f
commit
53fa3a9553
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ Grafana currently uses the upstream `docker.io/grafana/grafana:11.4.0` image via
|
|||
## Lessons
|
||||
|
||||
- **Tarball directory name:** The Grafana OSS tarball extracts to `grafana-<version>` (e.g. `grafana-12.3.3`), *not* `grafana-v<version>`. The `mv` command in the Dockerfile must match this.
|
||||
- **Binary PATH:** The Grafana binary lives at `bin/grafana` inside the extracted directory. The Dockerfile must add the bin directory to `$PATH` (e.g. `ENV PATH="/usr/share/grafana/bin:$PATH"`) or use the full path in CMD.
|
||||
|
||||
## Reference
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue