Skip to content
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

Download artifacts or extra dependancies #95

Open
petems opened this issue Sep 5, 2014 · 4 comments
Open

Download artifacts or extra dependancies #95

petems opened this issue Sep 5, 2014 · 4 comments
Labels

Comments

@petems
Copy link

petems commented Sep 5, 2014

So, I'm basically seeing how to to create a packaged version of nginx with various external modules included.

For example, following these instructions: https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source

From what I'm reading of the documentation, you can only download one thing. And if you want to download extra artefacts, thats not natively possible, unless you put them into the one download url and it downloaded them all at once (not ideal)

I thought omnibus might help, but thats more like creating a package of packages right?

@bernd
Copy link
Owner

bernd commented Sep 6, 2014

Sorry, there is no support for downloading multiple sources at the moment. 😞

You can download the additional sources in the build method via something like safesystem("curl http://...") and extract them in a similar way before building the software. Hope that helps.

@petems
Copy link
Author

petems commented Sep 6, 2014

Cool, I'll give that a go. I might do a quick spike to see if I could implement an extra dependancy step also! 👍

@igalic
Copy link

igalic commented Dec 22, 2014

would also love this feature.
we build our own version of tomcat with built-in logback support, which requires a couple of extra jars.


any directions where we could start to contribute such a feature?

@bernd bernd added the feature label Feb 22, 2015
@andytinycat
Copy link
Collaborator

You're looking at doing something here: https://github.com/bernd/fpm-cookery/tree/master/lib/fpm/cookery/source_handler

For example, it might make sense to modify the default curl handler to take multiple sources. Or create a new multi_source handler to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants