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

Unable to login inside docker container #1221

Open
KursLabIgor opened this issue Mar 19, 2019 · 0 comments
Open

Unable to login inside docker container #1221

KursLabIgor opened this issue Mar 19, 2019 · 0 comments

Comments

@KursLabIgor
Copy link

Main idea that i want to use heroku cli in automation pipeline. For this i need to build in command with cli inside docker container which is used in pipeline

BUG

This is partial snippet from Debug

HEROKU_BINPATH=/usr/local/lib/heroku/bin/heroku /usr/local/lib/heroku/bin/node /usr/local/lib/heroku/bin/run login
2019-03-19T09:01:24.131Z @oclif/config reading core plugin /usr/local/lib/heroku
2019-03-19T09:01:24.133Z @oclif/config loadJSON /usr/local/lib/heroku/package.json
2019-03-19T09:01:24.136Z @oclif/config loadJSON /usr/local/lib/heroku/oclif.manifest.json
2019-03-19T09:01:24.137Z @oclif/config:heroku using manifest from /usr/local/lib/heroku/oclif.manifest.json
2019-03-19T09:01:24.138Z @oclif/config reading user plugins pjson /root/.local/share/heroku/package.json
2019-03-19T09:01:24.138Z @oclif/config loadJSON /root/.local/share/heroku/package.json
2019-03-19T09:01:24.138Z @oclif/config loading plugins [ '@oclif/plugin-legacy',
  '@heroku-cli/plugin-addons-v5',
  '@heroku-cli/plugin-apps-v5',
  '@heroku-cli/plugin-auth',
  '@heroku-cli/plugin-autocomplete',
  '@heroku-cli/plugin-buildpacks',
  '@heroku-cli/plugin-certs',
  '@heroku-cli/plugin-certs-v5',
  '@heroku-cli/plugin-ci-v5',
  '@heroku-cli/plugin-ci',
  '@heroku-cli/plugin-config',
  '@heroku-cli/plugin-container-registry-v5',
  '@heroku-cli/plugin-git',
  '@heroku-cli/plugin-local-v5',
  '@heroku-cli/plugin-oauth-v5',
  '@heroku-cli/plugin-orgs-v5',
  '@heroku-cli/plugin-pg-v5',
  '@heroku-cli/plugin-pipelines-v5',
  '@heroku-cli/plugin-ps',
  '@heroku-cli/plugin-ps-exec',
  '@heroku-cli/plugin-redis-v5',
  '@heroku-cli/plugin-run-v5',
  '@heroku-cli/plugin-spaces',
  '@heroku-cli/plugin-status',
  '@heroku-cli/plugin-webhooks-v5',
  '@oclif/plugin-commands',
  '@oclif/plugin-help',
  '@oclif/plugin-not-found',
  '@oclif/plugin-plugins',
  '@oclif/plugin-update',
  '@oclif/plugin-warn-if-update-available',
  '@oclif/plugin-which' ]
2019-03-19T09:01:24.142Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-legacy
2019-03-19T09:01:24.142Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-legacy/package.json
2019-03-19T09:01:24.142Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5
2019-03-19T09:01:24.142Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/package.json
2019-03-19T09:01:24.142Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5
2019-03-19T09:01:24.142Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/package.json
2019-03-19T09:01:24.142Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-auth
2019-03-19T09:01:24.142Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-auth/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-autocomplete
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-autocomplete/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-buildpacks
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-buildpacks/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-config
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-config/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5
2019-03-19T09:01:24.143Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/package.json
2019-03-19T09:01:24.143Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-git
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-git/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/package.json
2019-03-19T09:01:24.144Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5
2019-03-19T09:01:24.144Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-webhooks-v5
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-webhooks-v5/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-commands
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-commands/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-help
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-help/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-not-found
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-not-found/package.json
2019-03-19T09:01:24.145Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-plugins
2019-03-19T09:01:24.145Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-plugins/package.json
2019-03-19T09:01:24.146Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-update
2019-03-19T09:01:24.146Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-update/package.json
2019-03-19T09:01:24.146Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-warn-if-update-available
2019-03-19T09:01:24.146Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-warn-if-update-available/package.json
2019-03-19T09:01:24.146Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@oclif/plugin-which
2019-03-19T09:01:24.146Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-which/package.json
2019-03-19T09:01:24.147Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-legacy/oclif.manifest.json
2019-03-19T09:01:24.147Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/oclif.manifest.json
2019-03-19T09:01:24.148Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/oclif.manifest.json
2019-03-19T09:01:24.148Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-autocomplete/oclif.manifest.json
2019-03-19T09:01:24.148Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-auth/oclif.manifest.json
2019-03-19T09:01:24.148Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-buildpacks/oclif.manifest.json
2019-03-19T09:01:24.149Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs/oclif.manifest.json
2019-03-19T09:01:24.149Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/oclif.manifest.json
2019-03-19T09:01:24.149Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/oclif.manifest.json
2019-03-19T09:01:24.149Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-config/oclif.manifest.json
2019-03-19T09:01:24.149Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/oclif.manifest.json
2019-03-19T09:01:24.150Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-git/oclif.manifest.json
2019-03-19T09:01:24.150Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/oclif.manifest.json
2019-03-19T09:01:24.150Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/oclif.manifest.json
2019-03-19T09:01:24.150Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/oclif.manifest.json
2019-03-19T09:01:24.151Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps/oclif.manifest.json
2019-03-19T09:01:24.151Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/oclif.manifest.json
2019-03-19T09:01:24.151Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/oclif.manifest.json
2019-03-19T09:01:24.151Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci/oclif.manifest.json
2019-03-19T09:01:24.152Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/oclif.manifest.json
2019-03-19T09:01:24.152Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-webhooks-v5/oclif.manifest.json
2019-03-19T09:01:24.152Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-commands/oclif.manifest.json
2019-03-19T09:01:24.152Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-help/oclif.manifest.json
2019-03-19T09:01:24.153Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-not-found/oclif.manifest.json
2019-03-19T09:01:24.153Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-plugins/oclif.manifest.json
2019-03-19T09:01:24.153Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-update/oclif.manifest.json
2019-03-19T09:01:24.153Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json
2019-03-19T09:01:24.154Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-which/oclif.manifest.json
2019-03-19T09:01:24.154Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/oclif.manifest.json
2019-03-19T09:01:24.154Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/oclif.manifest.json
2019-03-19T09:01:24.155Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/oclif.manifest.json
2019-03-19T09:01:24.155Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@oclif/plugin-not-found/.oclif.manifest.json
2019-03-19T09:01:24.155Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/oclif.manifest.json
2019-03-19T09:01:24.156Z @oclif/config:@oclif/plugin-legacy using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-legacy/oclif.manifest.json
2019-03-19T09:01:24.157Z @oclif/config:@heroku-cli/plugin-autocomplete using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-autocomplete/oclif.manifest.json
2019-03-19T09:01:24.157Z @oclif/config:@heroku-cli/plugin-auth using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-auth/oclif.manifest.json
2019-03-19T09:01:24.158Z @oclif/config:@heroku-cli/plugin-certs using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs/oclif.manifest.json
2019-03-19T09:01:24.158Z @oclif/config:@heroku-cli/plugin-ci-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/oclif.manifest.json
2019-03-19T09:01:24.158Z @oclif/config:@heroku-cli/plugin-config using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-config/oclif.manifest.json
2019-03-19T09:01:24.159Z @oclif/config:@heroku-cli/plugin-container-registry-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/oclif.manifest.json
2019-03-19T09:01:24.159Z @oclif/config:@heroku-cli/plugin-ps-exec using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/oclif.manifest.json
2019-03-19T09:01:24.159Z @oclif/config:@heroku-cli/plugin-ps using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps/oclif.manifest.json
2019-03-19T09:01:24.159Z @oclif/config:@heroku-cli/plugin-redis-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/oclif.manifest.json
2019-03-19T09:01:24.160Z @oclif/config:@heroku-cli/plugin-run-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/oclif.manifest.json
2019-03-19T09:01:24.160Z @oclif/config:@heroku-cli/plugin-git using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-git/oclif.manifest.json
2019-03-19T09:01:24.160Z @oclif/config:@heroku-cli/plugin-status using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/oclif.manifest.json
2019-03-19T09:01:24.160Z @oclif/config:@heroku-cli/plugin-webhooks-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-webhooks-v5/oclif.manifest.json
2019-03-19T09:01:24.161Z @oclif/config:@oclif/plugin-commands using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-commands/oclif.manifest.json
2019-03-19T09:01:24.161Z @oclif/config:@oclif/plugin-help using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-help/oclif.manifest.json
2019-03-19T09:01:24.161Z @oclif/config:@oclif/plugin-plugins using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-plugins/oclif.manifest.json
2019-03-19T09:01:24.161Z @oclif/config:@oclif/plugin-update using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-update/oclif.manifest.json
2019-03-19T09:01:24.161Z @oclif/config:@oclif/plugin-warn-if-update-available using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-warn-if-update-available/oclif.manifest.json
2019-03-19T09:01:24.161Z @oclif/config:@oclif/plugin-which using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-which/oclif.manifest.json
2019-03-19T09:01:24.162Z @oclif/config:@heroku-cli/plugin-addons-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/oclif.manifest.json
2019-03-19T09:01:24.162Z @oclif/config:@heroku-cli/plugin-local-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/oclif.manifest.json
2019-03-19T09:01:24.163Z @oclif/config:@heroku-cli/plugin-certs-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/oclif.manifest.json
2019-03-19T09:01:24.163Z @oclif/config:@heroku-cli/plugin-buildpacks using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-buildpacks/oclif.manifest.json
2019-03-19T09:01:24.164Z @oclif/config:@heroku-cli/plugin-pipelines-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/oclif.manifest.json
2019-03-19T09:01:24.164Z @oclif/config:@heroku-cli/plugin-oauth-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/oclif.manifest.json
2019-03-19T09:01:24.164Z @oclif/config:@oclif/plugin-not-found using manifest from /usr/local/lib/heroku/node_modules/@oclif/plugin-not-found/.oclif.manifest.json
2019-03-19T09:01:24.164Z @oclif/config:@heroku-cli/plugin-ci using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci/oclif.manifest.json
2019-03-19T09:01:24.169Z @oclif/config:@heroku-cli/plugin-spaces using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/oclif.manifest.json
2019-03-19T09:01:24.169Z @oclif/config:@heroku-cli/plugin-orgs-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/oclif.manifest.json
2019-03-19T09:01:24.171Z @oclif/config:@heroku-cli/plugin-apps-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/oclif.manifest.json
2019-03-19T09:01:24.172Z @oclif/config:@heroku-cli/plugin-pg-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/oclif.manifest.json
2019-03-19T09:01:24.173Z @oclif/config config done
2019-03-19T09:01:24.174Z @oclif/config start init hook
2019-03-19T09:01:24.175Z heroku:heroku:hooks:init start /usr/local/lib/heroku/lib/hooks/init/version
2019-03-19T09:01:24.176Z heroku:@oclif/plugin-legacy:hooks:init start /usr/local/lib/heroku/node_modules/@oclif/plugin-legacy/lib/hooks/init
2019-03-19T09:01:24.178Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5
2019-03-19T09:01:24.179Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5
2019-03-19T09:01:24.180Z @oclif/plugin-legacy loading legacy plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5
2019-03-19T09:01:24.181Z heroku:@oclif/plugin-update:hooks:init start /usr/local/lib/heroku/node_modules/@oclif/plugin-update/lib/hooks/init
2019-03-19T09:01:24.250Z heroku:@oclif/plugin-warn-if-update-available:hooks:init start /usr/local/lib/heroku/node_modules/@oclif/plugin-warn-if-update-available/lib/hooks/init/check-update
2019-03-19T09:01:24.252Z heroku:heroku:hooks:init done
2019-03-19T09:01:24.252Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/package.json
2019-03-19T09:01:24.252Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/package.json
2019-03-19T09:01:24.252Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/package.json
2019-03-19T09:01:24.252Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/package.json
2019-03-19T09:01:24.253Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/package.json
2019-03-19T09:01:24.255Z update-check Error: ENOENT: no such file or directory, stat '/root/.cache/heroku/version'
2019-03-19T09:01:24.255Z update-check spawning version refresh
2019-03-19T09:01:24.258Z heroku:@oclif/plugin-warn-if-update-available:hooks:init done
2019-03-19T09:01:24.263Z heroku:@oclif/plugin-update:hooks:init done
2019-03-19T09:01:24.263Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5
2019-03-19T09:01:24.264Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/package.json
2019-03-19T09:01:24.264Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5
2019-03-19T09:01:24.264Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/package.json
2019-03-19T09:01:24.264Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec
2019-03-19T09:01:24.264Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/package.json
2019-03-19T09:01:24.264Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5
2019-03-19T09:01:24.264Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/package.json
2019-03-19T09:01:24.264Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5
2019-03-19T09:01:24.264Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/package.json
2019-03-19T09:01:24.264Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status
2019-03-19T09:01:24.265Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/package.json
2019-03-19T09:01:24.265Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5
2019-03-19T09:01:24.265Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/package.json
2019-03-19T09:01:24.265Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5
2019-03-19T09:01:24.265Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/package.json
2019-03-19T09:01:24.265Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5
2019-03-19T09:01:24.265Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/package.json
2019-03-19T09:01:24.265Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5
2019-03-19T09:01:24.265Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/package.json
2019-03-19T09:01:24.265Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5
2019-03-19T09:01:24.265Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/package.json
2019-03-19T09:01:24.265Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces
2019-03-19T09:01:24.266Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/package.json
2019-03-19T09:01:24.266Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5
2019-03-19T09:01:24.266Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/package.json
2019-03-19T09:01:24.266Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5
2019-03-19T09:01:24.266Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/package.json
2019-03-19T09:01:24.266Z @oclif/config reading core plugin /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5
2019-03-19T09:01:24.266Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/package.json
2019-03-19T09:01:24.267Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/oclif.manifest.json
2019-03-19T09:01:24.267Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/oclif.manifest.json
2019-03-19T09:01:24.267Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/oclif.manifest.json
2019-03-19T09:01:24.267Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/oclif.manifest.json
2019-03-19T09:01:24.267Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/oclif.manifest.json
2019-03-19T09:01:24.268Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/oclif.manifest.json
2019-03-19T09:01:24.269Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/oclif.manifest.json
2019-03-19T09:01:24.269Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/oclif.manifest.json
2019-03-19T09:01:24.270Z @oclif/config loadJSON /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/oclif.manifest.json
2019-03-19T09:01:24.271Z @oclif/config:@heroku-cli/plugin-ci-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ci-v5/oclif.manifest.json
2019-03-19T09:01:24.271Z @oclif/config:@heroku-cli/plugin-container-registry-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-container-registry-v5/oclif.manifest.json
2019-03-19T09:01:24.272Z @oclif/config:@heroku-cli/plugin-redis-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-redis-v5/oclif.manifest.json
2019-03-19T09:01:24.272Z @oclif/config:@heroku-cli/plugin-ps-exec using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-ps-exec/oclif.manifest.json
2019-03-19T09:01:24.272Z @oclif/config:@heroku-cli/plugin-run-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-run-v5/oclif.manifest.json
2019-03-19T09:01:24.272Z @oclif/config:@heroku-cli/plugin-status using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-status/oclif.manifest.json
2019-03-19T09:01:24.273Z @oclif/config:@heroku-cli/plugin-local-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-local-v5/oclif.manifest.json
2019-03-19T09:01:24.273Z @oclif/config:@heroku-cli/plugin-oauth-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-oauth-v5/oclif.manifest.json
2019-03-19T09:01:24.273Z @oclif/config:@heroku-cli/plugin-addons-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-addons-v5/oclif.manifest.json
2019-03-19T09:01:24.274Z @oclif/config:@heroku-cli/plugin-certs-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-certs-v5/oclif.manifest.json
2019-03-19T09:01:24.274Z @oclif/config:@heroku-cli/plugin-pipelines-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pipelines-v5/oclif.manifest.json
2019-03-19T09:01:24.275Z @oclif/config:@heroku-cli/plugin-orgs-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-orgs-v5/oclif.manifest.json
2019-03-19T09:01:24.276Z @oclif/config:@heroku-cli/plugin-spaces using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-spaces/oclif.manifest.json
2019-03-19T09:01:24.276Z @oclif/config:@heroku-cli/plugin-pg-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-pg-v5/oclif.manifest.json
2019-03-19T09:01:24.284Z @oclif/config:@heroku-cli/plugin-apps-v5 using manifest from /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-apps-v5/oclif.manifest.json
2019-03-19T09:01:24.285Z heroku:@oclif/plugin-legacy:hooks:init done
2019-03-19T09:01:24.285Z @oclif/config init hook done
2019-03-19T09:01:24.285Z heroku init version: @oclif/[email protected] argv: [ 'login' ]
2019-03-19T09:01:24.289Z @oclif/config runCommand login []
2019-03-19T09:01:24.290Z @oclif/config:@heroku-cli/plugin-auth require /usr/local/lib/heroku/node_modules/@heroku-cli/plugin-auth/lib/commands/auth/login.js
2019-03-19T09:01:24.329Z @oclif/config start prerun hook
2019-03-19T09:01:24.329Z heroku:heroku:hooks:prerun start /usr/local/lib/heroku/lib/hooks/prerun/analytics
2019-03-19T09:01:24.332Z netrc-parser load /root/.netrc
2019-03-19T09:01:24.334Z netrc-parser ENOENT
2019-03-19T09:01:24.336Z netrc-parser machines: []
2019-03-19T09:01:24.337Z heroku:user_config init
2019-03-19T09:01:24.345Z heroku-cli:file readJSON /root/.local/share/heroku/config.json
2019-03-19T09:01:24.345Z heroku:user_config not found
2019-03-19T09:01:24.357Z heroku:user_config saving
2019-03-19T09:01:24.357Z heroku-cli:file outputJSON /root/.local/share/heroku/config.json
2019-03-19T09:01:25.113Z heroku:heroku:hooks:prerun done
2019-03-19T09:01:25.113Z @oclif/config prerun hook done
2019-03-19T09:01:25.115Z heroku:auth:login init version: @oclif/[email protected] argv: []
Error: Cannot log in with HEROKU_API_KEY set
    at Object.error (/usr/local/lib/heroku/node_modules/@oclif/errors/lib/index.js:22:17)
    at Login.login (/usr/local/lib/heroku/node_modules/@heroku-cli/command/lib/login.js:30:34)
    at APIClient.login (/usr/local/lib/heroku/node_modules/@heroku-cli/command/lib/api-client.js:161:28)
    at Login.run (/usr/local/lib/heroku/node_modules/@heroku-cli/plugin-auth/lib/commands/auth/login.js:11:27)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)

I have remove auth token from snippet. But i successfully got auth token.

Steps to reproduce

  1. Install Docker
  2. Put following code inside docker file
        FROM nikolauska/phoenix:1.6.3-ubuntu
        RUN dpkg -s apt-transport-https 1>/dev/null 2>/dev/null || \
                (echo "" > /etc/apt/sources.list.d/heroku.list \
                && apt-get update \
                && apt-get install -y apt-transport-https)
        ENV HEROKU_API_KEY=<API_KEY>
        ENV DEBUG=*
        RUN curl https://cli-assets.heroku.com/install.sh | sh
        RUN heroku login
    
    
  3. docker build -t heroku-cli:1.0 .

Expected behavior

I should able login and run command from docker container.
Environment:
Ubuntu image, no proxy or firewall.
heroku/7.22.7 linux-x64 node-v11.10.1

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