You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our Dockerfile, make geth does not inject the commit hash into Geth's version string because the .git repository is ignored via .dockerignore.
Would help to figure out which files from .git should be forwarded into the docker build process to re-enable the commit hashes in the version string. A good starter is build.LocalEnv, which tries to pull the commit hash from git.
You can also read the discussion in #15351 for the proposal of a good solution (the PR itself wasn't suitable).
The text was updated successfully, but these errors were encountered:
This commit changes the way of retrieving git commit and branch for build
environment from running git command to reading git files directly.
This commit also adds required git files into Docker build context.
fixes: ethereum#15346
#15458)
* .dockerignore, internal/build: Read git information directly from file
This commit changes the way of retrieving git commit and branch for build
environment from running git command to reading git files directly.
This commit also adds required git files into Docker build context.
fixes: #15346
* .dockerignore: workaround for including some files in .git
In our Dockerfile,
make geth
does not inject the commit hash into Geth's version string because the.git
repository is ignored via .dockerignore.Would help to figure out which files from
.git
should be forwarded into the docker build process to re-enable the commit hashes in the version string. A good starter isbuild.LocalEnv
, which tries to pull the commit hash from git.You can also read the discussion in #15351 for the proposal of a good solution (the PR itself wasn't suitable).
The text was updated successfully, but these errors were encountered: