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

Document what Node-specific Docker images are compatible with Rover #609

Open
mandiwise opened this issue Jun 10, 2021 · 0 comments
Open
Labels
docs 📝 improvements or additions to docs on the docs site triage issues and PRs that need to be triaged

Comments

@mandiwise
Copy link

Description

The notes in the Rover docs about alpine image compatibility have been very helpful, and I think it would be instructive to provide additional clarification about what other Docker images are compatible with Rover when you need to run rover supergraph compose directly in a container. For example, running that command in a container built from a node:<version>-slim image fails due to what looks like a missing ca-certificates dependency.

Here's the error output:

Error: Command failed with exit code 1: rover supergraph compose --config ./supergraph.yml
error[E004]: error sending request for url (https://github.com/apollographql/rover/releases/latest): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1915: (unable to get local issuer certificate)
              This error was unexpected! Please submit an issue with any relevant details about what you were trying to do: https://github.com/apollographql/rover/issues/new/choose
    at makeError (/home/node/app/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/home/node/app/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async default (/home/node/app/src/config/apollo.js:23:26)
    at async /home/node/app/src/index.js:6:18 {
  shortMessage: 'Command failed with exit code 1: rover supergraph compose --config ./supergraph.yml',
  command: 'rover supergraph compose --config ./supergraph.yml',
  escapedCommand: 'rover supergraph compose --config "./supergraph.yml"',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: '\u001b[1;31merror[E004]:\u001b[0m error sending request for url (https://github.com/apollographql/rover/releases/latest): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1915: (unable to get local issuer certificate)\n' +
    '\u001b[1;36m             \u001b[0m This error was unexpected! Please submit an issue with any relevant details about what you were trying to do: \u001b[36mhttps://github.com/apollographql/rover/issues/new/choose\u001b[0m',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

I can confirm that the command does successfully run in a container that's build from the full node:<version> image.

@mandiwise mandiwise added docs 📝 improvements or additions to docs on the docs site triage issues and PRs that need to be triaged labels Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs 📝 improvements or additions to docs on the docs site triage issues and PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant