'az pack build' fails with Heroku Buildpacks due to incompatible platform API
See original GitHub issueIncompatible Platform API
Heroku example fails due to Platform API being incompatible with builder, source: https://docs.microsoft.com/sv-se/cli/azure/acr/pack?view=azure-cli-latest
Command Name
az acr pack build
Errors:
ERROR: pack v0.4.1 (git sha: 90e88e7b1dc02ca65e22548fdfbeabec4c9879a6) (Platform API version 0.1) is incompatible with builder heroku/buildpacks:18 (Platform API version 0.3)
2020/05/27 01:01:59 Container failed during run: acb_step_0. No retries remaining.
failed to run step ID: acb_step_0: exit status 1
Run ID: ca6 failed after 1m9s. Error: failed during run, err: exit status 1
Run failed
To Reproduce:
Fill in <registryname>
with a valid value.
az acr pack build -r <registryname> -t {{.Run.Registry}}/node-app:{{.Run.ID}} --pull --builder heroku/buildpacks:18 https://github.com/Azure-Samples/nodejs-docs-hello-world.git
Expected Behavior
Expected buildpack to be produced and deployed to registry.
Environment Summary
macOS-10.15.4-x86_64-i386-64bit
Python 3.8.2
Installer: HOMEBREW
azure-cli 2.6.0
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Why does my app "fail to detect" a buildpack? - Heroku Help
This error message means that Heroku was unable to automatically detect the type of app you're trying to deploy: Ruby, Node, Python, PHP,...
Read more >Heroku Deployment Failing After Upgrade to Rails 7 - Reddit
Hey all, I just upgraded to Rails 7 and I'm trying to deploy to Heroku getting a weird linux error that doesn't seem...
Read more >App not compatible with buildpack - Heroku - Stack Overflow
It's quite a silly issue. Make sure the git repo is initialized within the project root folder. Suppose the project is a Django...
Read more >Problem pushing python app with numpy and scikit-fuzzy ...
Hello, I can't push a python application in SAP Cloud Foundry. I have problems installing the numpy and scikit-fuzzy packages.
Read more >Deploying on Heroku — Phoenix v1.6.15 - HexDocs
Heroku is a great platform and Elixir performs well on it. ... A buildpack is a convenient way of packaging framework and/or runtime...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @ericmichael, this seems to resolve the issue:
Can you confirm that it works for you?
Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!