diffix / explorer

Tool to automatically explore and generate stats on data anonymized using Diffix
MIT License
2 stars 1 forks source link

Docker build version info shows git status as dirty #207

Closed dandanlen closed 4 years ago

dandanlen commented 4 years ago

When building with docker, the versionInfo item shows the git sha with a trailing + indicating that the git HEAD status is dirty.

I think this is because of the difference between .gitignore and .dockerignore files: some files that are included in the git repo are not copied over to the docker build container. During the build stage when the git info is embedded in the executable, git therefore thinks there are pending uncommitted changes in the workspace.