Closed jpluscplusm closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/151787565
The labels on this github issue will be updated when the story is started.
Hi @jpluscplusm,
What's your use case for this feature? What type of files are you trying to share between static-content apps?
You may be able to accomplish this now with the location_include
Staticfile directive, but I'd like to understand your motivations before going into more detail about that option.
(We have plans to introduce an NGINX buildpack that requires a user-specified nginx.conf
file. This may be a better feature for that buildpack.)
Hi @jpluscplusm,
Still interested in this feature?
Closing due to inactivity. We may implement something like this eventually, but we don't have plans to do so yet.
Could this feature request be opened again? We have a use case where this is causing an issue. We utilize the Signal Science WAF and the easiest way to incorporate the agent is using the supply buildpack provided by the vendor. We're seeing more staticfile buildpacks pop up in our organization and we can't use that buildpack with the staticfile buildpack.
There doesn't appear to be a multi-buildpack-contract-compliant way of specifying:
cf v3-push -b foo -b bar -b staticfile
pushfoo
orbar
buildpacks'supply
scriptsI've tried a number of hacks (symlinks; absolute paths in the
root:
Staticfile directive; etc), but I can only currently achieve this by making a previous buildpack'ssupply
script modify the app dir contents - which is explicitly prohibited in https://docs.cloudfoundry.org/buildpacks/understand-buildpacks.html#supply-scriptIn a multi-buildpack world, serving a directory built by a previous buildpack doesn't sound outrageous. I think this buildpack should support that use case.