Re: add package to container during staging?


JT Archie <jarchie@...>
 

Eric,

The python buildpack does bundle the libffi dependency. It only get's
installed
<https://github.com/cloudfoundry/python-buildpack/blob/master/bin/steps/cryptography#L23>
if you added cffi to your requirements.txt. With `pip` you have to explicit
set all your dependencies.

Give that a try.

Kind Regards,

JT

On Sat, Nov 14, 2015 at 2:34 PM, Eric Poelke <epoelke(a)gmail.com> wrote:

Is it possible to add commands to get run during staging? I am using the
python buildpack but one of my dependencies is on PyNaCL which requires
libffi-dev to build properly. Since that package is not part of cflinuxfs2
stack my push fails. So is there any way to add staging steps? I have
googled around a bit but not really come up with anything.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.