Skip to content
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

ps:forward (and others) enforce buildpack installed even for container deployes #1224

Open
brian-mcnamara opened this issue Mar 26, 2019 · 0 comments

Comments

@brian-mcnamara
Copy link

Currently the CLI requires a buildpack (apparently any is fine, the check is for size > 0) for forwarding a port using ps:forward (ps:exec too). This is required for slug deploys however buildpacks have no use for container deploys.

The current issue is:

heroku ps:forward 9090 -a APP_NAME
 ▸    $APP_NAME has no Buildpack URL set. You must deploy your application first!

We do manually setup the exec for the container following https://devcenter.heroku.com/articles/exec#using-with-docker

The fix:

The best path forward may simple be to check if the app is a container image and skip the buildpack check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant