[Bug]: Docker image is broken
LacazeThomas opened this issue · 3 comments
LacazeThomas commented
Grizzly Version
v0.4.0+
Expected Behavior
$ grr config set grafana.user toto
Actual Behavior
$ grr config set grafana.user toto
FATA[0000] open : no such file or directory
Steps to Reproduce
$ docker run --rm -it --entrypoint sh grafana/grizzly:0.3.1
$ grr config set grafana.user toto
$ docker run --rm -it --entrypoint sh grafana/grizzly:0.4.0
$ grr config set grafana.user toto
FATA[0000] open : no such file or directory
$ grr config path
*empty*
same with
$ docker run --rm -it --entrypoint bash golang:1.22
$ go install -a github.com/grafana/grizzly/cmd/grr@latest
$ grr config set grafana.user toto
FATA[0000] open : no such file or directory
$ grr config path
*empty*
LacazeThomas commented
fixed with touch settings.yaml
in the current folder.
But this is still a regression compared to other versions.
malcolmholmes commented
You can still use Grizzly with environment variables, as before. I guess what you're saying is that, in your situation (inside Docker), it fails because it can't find a config file, even though you just want to use environment variables.
Have I got that right?
K-Phoen commented
There was a bug with configuration management, it's been fixed. Could you try the latest release and reopen this issue if it doesn't work?