conduit icon indicating copy to clipboard operation
conduit copied to clipboard

Missing file /bin/conduit

Open soulshake opened this issue 8 years ago • 4 comments

I'm having the same issue described in #6 [1]. I forked the repo and am trying to add some extra debugging output, but I'm not sure what should be in the conduit file that appears in this line in the Dockerfile (and which is also the entrypoint), and so the build is failing:

COPY conduit /bin/conduit

I see that conduit is in .gitignore. What should be in this file so I can build conduit locally?

[1] If it's helpful: I'm using docker machine with --driver amazonec2 to auto-deploy this Docker Hub repo.

soulshake avatar Apr 07 '16 15:04 soulshake

Ah yes this expects it to be built locally. Let me update it to build in a container. Sorry!!!

ehazlett avatar Apr 07 '16 22:04 ehazlett

Oh you are trying to build on the hub. Ya this will be tough as I like to use two stage builds to keep a small image (8MB vs. 100s). You should be able to use the Dockerfile.build file to have working image but it will be larger.

ehazlett avatar Apr 07 '16 23:04 ehazlett

Let me investigate what a potential alpine based solution would look like.

ehazlett avatar Apr 07 '16 23:04 ehazlett

Ok I've added a new target make build-container. This will build in a container and the resulting binary will be in the current directory. You should be able to use the Dockerfile.build in the Hub now and the resulting image will be at /go/src/github.com/ehazlett/conduit/conduit. Be aware this is a pretty large image at about ~450MB.

Hope this helps!!! And thank you for the feedback :D

ehazlett avatar Apr 07 '16 23:04 ehazlett