]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Dockerfile: git-pull more history, to get a version string
authorBrian Warner <warner@lothar.com>
Mon, 15 Jun 2015 21:40:19 +0000 (14:40 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 15 Jun 2015 21:40:19 +0000 (14:40 -0700)
commitf26423cb4d264dffcc2ee5937b87c015f16a61e4
tree2ee525ec959fb31f1fa153a1a2535e272bf5b5d7
parent1105278589f15344ab9bf97e44c594451c276684
Dockerfile: git-pull more history, to get a version string

The Docker build process seems to use 'git pull --depth=1', which
doesn't fetch enough history to see a tag, which means tahoe's setup.py
can't compute a version (then 'tahoe --version' reports "unknown").
Pulling a hundred commits should be enough to see a tag without making
the resulting image unnecessarily large. If we go more than 100 commits
between tags, we'll need to increase this, or come up with something
smarter.
Dockerfile