-
Notifications
You must be signed in to change notification settings - Fork 54
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
Building drafter is painfully slow. #788
Comments
These are the steps I'm using to do the build:
|
Once built, providing the version of Drafter isn't changed you should be able to utilise docker layer caching so that it will never need to rebuilt the Drafter layers of the image. You may also create a separate base image or multi-staged build.
You can utilise the option
Changing
If you're not already aware, there's a Python library Draughtsman offering bindings to libdrafter. |
I'm aware of layer caching, but we use ephemeral jenkins nodes and Docker caching isn't always available, and I build a lot of docker images and have to routinely prune my images to keep the down the size. That's all super helpful, thank you so much! |
I'm working on building a python library that uses Drafter to parse API Blueprints, as such all I really care about is
libdrafter
itself. I'm using docker for developing / testing and every time I rebuild the container it takes 10+ minutes to build drafter itself. Is there a way to speed up the build? Is there a way to build just the lib portion that I need?The text was updated successfully, but these errors were encountered: