[英]Build a production custom docker image of grafana from it github
I need make some changes on the code of grafana an them compile it.我需要对 grafana 的代码进行一些更改,然后他们编译它。
I have downloaded the github repo, made the changes and rum我已经下载了 github 存储库,进行了更改和朗姆酒
docker build -t custom-grafana -f Dockerfile .
As you can see many site over internet.正如您在互联网上看到的许多网站。
The problem is that compile in this way make a build from v7.5.0-dev version of grafana, and I need use the latest version... I cant find de way to compile a custom grafana code using the latest version of gfrafana code.问题在于以这种方式编译从 grafana 的 v7.5.0-dev 版本构建,我需要使用最新版本...我找不到使用最新版本的 gfrafana 代码编译自定义 grafana 代码的方法。
I need help... Thank you!我需要帮助...谢谢!
If you have cloned the grafana repository from GitHub than you must checkout the branch/tag that you want to compile.如果您从 GitHub 克隆了 grafana 存储库,则必须签出要编译的分支/标记。
The latest version at the moment is 7.5.6, you can just check it out before building the docker container.目前最新版本是 7.5.6,您可以在构建 docker 容器之前查看它。
git checkout v7.5.6
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.