Skip to content

Commit a7e7092

Browse files
[Docker file] Fix wrong version string in docker images (RSS-Bridge#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
1 parent 18504f2 commit a7e7092

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.git
2+
!.git/HEAD
3+
!.git/refs/heads/*
24
.gitattributes
35
.github/*
46
.travis.yml

0 commit comments

Comments
 (0)