title: Root composer.json requires dev-master found dev-main on Docker
body: <p>I create a local repository of type &quot;path&quot; in composer like this:</p>
  <pre><code>   {
       ...
       &quot;whweb/core-bundle&quot;: &quot;dev-master&quot;
       ...
     }
     ... 
     &quot;repositories&quot;: [{
      &quot;type&quot;: &quot;path&quot;,
      &quot;url&quot; : &quot;../wh-web-lib/whweb/core-bundle&quot;,
      &quot;options&quot;: {
          &quot;symlink&quot;: false
      }
      }]
      ...
  </code></pre>
  <p>when I run <strong>composer install or update</strong> on my local computer all ok (works)
  as soon as docker copies the project to a linux container, including the wh-web-lib folder, <strong>composer update or install</strong> fails with the following error:</p>
  <pre><code>Root composer.json requires whweb/core-bundle dev-master, found whweb/core-bundle[dev-main] but it does not match your constraint and is therefore not installable
  </code></pre>
  <p>Why is not working ? Is there a way to make it working equally well when it's on my local computer and when it runs on docker Linux container ?</p>