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

Add ONBUILD installing required libraries #1

Open
vlcinsky opened this issue Sep 17, 2014 · 2 comments
Open

Add ONBUILD installing required libraries #1

vlcinsky opened this issue Sep 17, 2014 · 2 comments

Comments

@vlcinsky
Copy link

Installing lxml, pyyaml, pyzmq and couple of other python packages will currently fail, as they require some libraries in system to be installed.

One solution is to prepare the basic python image with all of them already installed:

$ apt-get install python-dev libxml2-dev libxslt-dev lib32z1-dev libyaml-dev libzmq-dev

Another solution would be to add another ONBUILD line before calling $ pip install -r requirements which would call a script (e.g. called pre-install-dependencies.sh) installing those dependencies.

@2xyo
Copy link

2xyo commented Nov 11, 2014

👍

@clementmangin
Copy link

I made a pull request addressing this issue, you can check it out here: #2

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

No branches or pull requests

3 participants