-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Dockerfile) #256
fix(Dockerfile) #256
Conversation
removed init so that the image ships no longer ships with an identity. TODO Maybe allow `ipfs --init run`? It's important to keep the initialization process simple.
Maybe: # set bootstrap through ENV
ENV IPFS_BOOTSTRAP /ip4/0.0.0.0/tcp/4001
# maybe want ENTRYPOINT [1]
ENTRYPOINT ["ipfs"]
# args to IPFS
CMD ["run"] once #251 is done [1] From http://docs.docker.com/reference/builder/#cmd
|
What's the semantics if it's already inited? seems error prone. (maybe
Completely agreed. |
Alternatively, |
@jbenet RTM |
@maybebtc i merged, but i still think we should change this to an entrypoint at some point. |
Ah you rewrote history 🐍 😄 I'll change over once I've had a chance to try it out. |
@maybebtc ??? i didnt rewrite history, i just clicked Merge after seeing RTM. |
Oh no. I didn't see your comment about |
removed
ipfs init
(so that the image ships no longer ships with an identity)TODO Maybe allow an init flag
ipfs --init run
? It's important to keep the initialization process simple. Open to alternatives. It would be nice to be able to ship an image that users can pull and execute in one command.