question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'az pack build' fails with Heroku Buildpacks due to incompatible platform API

See original GitHub issue

Incompatible 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:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
dorfirecommented, Jul 15, 2020

Hey @ericmichael, this seems to resolve the issue:

az acr pack build -r MyRegistry -t {{.Run.Registry}}/node-app:{{.Run.ID}} --pack-image-tag 20200715.1-patch1 --pull --builder heroku/buildpacks:18 https://github.com/Azure-Samples/nodejs-docs-hello-world.git

Can you confirm that it works for you?

0reactions
msftbot[bot]commented, Feb 22, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found