[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2421: connect tahoe-lafs repo to Docker Hub
Tahoe-LAFS
trac at tahoe-lafs.org
Sun Jun 7 21:47:26 UTC 2015
#2421: connect tahoe-lafs repo to Docker Hub
------------------------------------+------------------------------------
Reporter: daira | Owner: warner
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: dev-infrastructure | Version: 1.10.0
Resolution: | Keywords: docker security github
Launchpad Bug: |
------------------------------------+------------------------------------
Comment (by warner):
Note for the future: the Tahoe setup.py "what is my version?" code doesn't
appear to succeed in the Dockerhub build process. The build log makes me
think that the `.git` directory was not copied into the container: `git
describe` ran without error, but probably returned a short git hash
instead of a tag name. I don't know how we're going to get useful version
strings into the container using the Dockerfile "ADD" command. We probably
need to do a `git clone` inside the container instead of copying files in
from the outside; maybe there's some way to copy a git hash into the
container and then do a clone of that specific revision. Or perhaps the
ADD command has an option to copy the .git directory too.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2421#comment:6>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list