-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
add dockerfile/example to ease usage #55
Comments
I actually just happened to build this myself. It's already on Docker Hub if you want to use it right now:
# Generic (replace LOCAL_PATH)
docker run -it --rm -v LOCAL_PATH:/graph-composer patricknelson/graph-composer-docker sh
# ... then run graph-composer.phar as usual...
graph-composer.phar export > graph.svg I'm lazy, so I have some shortcuts for # Relative to current directory (MacOS/Linux)
docker run -it --rm -v "$(pwd):/graph-composer" patricknelson/graph-composer-docker sh
# Relative to current directory (Windows with cygwin)
docker run -it --rm -v "$(cygpath -am .):/graph-composer" patricknelson/graph-composer-docker sh p.s. That version above may not work for binary formats like PNG since the fonts cannot be rendered without the |
@babaorum @patricknelson Thank you for providing your Dockerfile / Docker image! This sure looks like a good starting point if you want to use graph-composer within a Docker container. I agree that providing this especially for the I don't think there's anything else that needs to be done in this repository, except perhaps adding a link to the README somewhere? PRs are very much welcome! I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can always reopen this 👍 |
Thanks by the way for making this tool! 😄 Right. I guess my main issue was encapsulating the various dependencies (basically just Of course in those situations, the |
I created the following dockerfile to test this project
Would you be interested in connecting it to your project in any way ? It can of course be modified.
The text was updated successfully, but these errors were encountered: