Icinga / docker-icinga2

Official Icinga 2 Docker images
GNU General Public License v2.0
66 stars 30 forks source link

Version output broken in icinga/icinga2:master #89

Closed julianbrost closed 1 year ago

julianbrost commented 1 year ago

The version information included in the latest master images is broken:

$ docker pull icinga/icinga2:master
[...]
$ docker run --rm -it icinga/icinga2:master icinga2 --version
[...]
icinga2 - The Icinga 2 network monitoring daemon (version: a0239e4)
[...]

The commit is from the icinga2 repository but the version number based on the latest tag is missing. Might be due to a shallow clone happening somewhere (and therefore tags not being available). The problem was possibly introduced in #73, but I haven't looked into this any closer.