-
Notifications
You must be signed in to change notification settings - Fork 288
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
How to combine buildpacks from builder and local file system? #223
Comments
What version of Either implementations would use the requirement for buildpacks to have a buildpack.toml, along with other strategies, to determine if it's a local compatible buildpack. This file is missing from heroku-buildpack-apt making it incompatible. Maybe @jkutner or @hone can provide some more insight here. |
Pack version is v0.2.1. Thanks for pointing to the relevant docs and code - it made me realize my mistake, i.e. confusing Cloud Native buildpacks with Heroku buildpacks. As you suggested, adding a minimal |
Hello @jsamoocha! I had a similar requirement and ended up creating a CNB apt-based buildpack off the Any feedback would be highly appreciated as it is the first buildpack I created pretty much to get a deeper understanding of how it works. I hope it becomes helpful to others in the future. |
At the time, I worked around the issue using a totally different approach, not requiring any build packs. So I'm afraid I'm not in the position to provide meaningful feedback on your solution. |
Hey @fagiani is there any guide out there on how to convert heroku-buildpacks to CNB buildpacks? I see you've been through this journey as well. I'm a bit confused.... isn't heroku supposed to be using the official buildpacks standard? |
@enricorotundo There are other versions of buildpacks as you can see below: If I understand it correctly, heroku still uses it's I've spent some time to understand how both work in order to transition them to current CNB ones... If you're looking to convert any specific buildpacks and think I can be of help, please feel free to reach out! Keep Rocking! |
I'm trying to build an image using the
heroku/python
andheroku-community/apt
buildpacks. The first is included in theheroku/buildpacks
builder (which I set as default builder). I git-cloned the second to a local path.When trying
pack build [NAME]:[TAG] --buildpack [LOCAL_PATH_TO_heroku-buildpack-apt] --buildpack heroku/python
, build fails as follows:where
[LOCAL_PATH_TO_heroku-buildpack-apt]
is an absolute path.Obviously, the custom buildpack
heroku-buildpack-apt
is not in the builder. How can I specify that this buildpack is on the local file system?The text was updated successfully, but these errors were encountered: