tobert / cassandra-docker

Cassandra in Docker
https://registry.hub.docker.com/u/tobert/cassandra/
Apache License 2.0
130 stars 56 forks source link

"go build" builds "wrong" executable if you clone cassandra-docker into dir with different name... #14

Closed rthille closed 9 years ago

rthille commented 9 years ago

I noticed when I cloned the repo that since I didn't use the default name of 'cassandra-docker' (I was evaluating a few different ones, so I renamed the checkout dir to something meaningful to me) that it "broke" things because the 'go build' built a different executable than the Dockerfile was expecting. Perhaps 'entrypoint.go' should be in a an appropriate 'cassandra-docker' subdirectory?

rthille commented 9 years ago

I'd PR a fix for this, but I'm not sure it's something you even want to address...

tobert commented 9 years ago

Hah! Yeah I suppose I ought to move it into a directory. I'll leave this open for now so I don't forget to do this. I'll probably also add a Makefile or build.sh so people don't need to mess with the go build.

tobert commented 9 years ago

Fixed by moving the code as discussed.