conduit
conduit copied to clipboard
Missing file /bin/conduit
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.
Ah yes this expects it to be built locally. Let me update it to build in a container. Sorry!!!
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.
Let me investigate what a potential alpine
based solution would look like.
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