title: Unsupported engine node / NPM only when building in Docker
body: <p>I have a dependency in my <code>package.json</code> which itself has the following dependency: </p>
  
  <p><code>"node-rdkafka": "^2.5.0",</code></p>
  
  <p>Using <code>nvm</code> on my local machine and setting my node version to <code>8.9.1</code>, and my <code>npm</code> version is <code>5.5.1</code>, I can <strong>successfully</strong> run</p>
  
  <p><code>npm install node-rdkafka@2.7.1</code></p>
  
  <p>But when running the same thing (i.e <code>npm install</code>) from within my docker image:</p>
  
  <p><code>FROM node:10.13.0-alpine</code> or <code>FROM node:8.9.1-alpine
  </code></p>
  
  <p>I get the following error:</p>
  
  <pre><code>npm ERR! notsup Unsupported engine for node-rdkafka@2.7.1: wanted: {"node":"&gt;=12.0.0"} (current: {"node":"10.13.0","npm":"6.4.1"})
  npm ERR! notsup Not compatible with your version of node/npm: node-rdkafka@2.7.1
  npm ERR! notsup Not compatible with your version of node/npm: node-rdkafka@2.7.1
  npm ERR! notsup Required: {"node":"&gt;=12.0.0"}
  npm ERR! notsup Actual:   {"npm":"6.4.1","node":"10.13.0"}
  </code></pre>
  
  <p>Any ideas about this inconsistency?</p>
  
  <p>I clearly dont need a node version this high. But it says I do.</p>