From a7e70926f924717ce3324149d961a87f9e39a18a Mon Sep 17 00:00:00 2001 From: User123698745 Date: Mon, 14 Mar 2022 01:48:40 +0100 Subject: [PATCH] [Docker file] Fix wrong version string in docker images (#2497) do not fully ignore git directory when building docker images ".git/HEAD" and ".git/refs/heads/*" are required by "getVersion()" in "lib/Configuration.php" to build the version string --- .dockerignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.dockerignore b/.dockerignore index db313697..90ca9f25 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,6 @@ .git +!.git/HEAD +!.git/refs/heads/* .gitattributes .github/* .travis.yml