docker-compose build error when using parent dir & dockerfile for build
<p>I have the following structure:</p>

<pre><code>.
..
docker/cli/Dockerfile
tests/docker-compose.yml
docker-compose.yml
</code></pre>

<p>In my <code>tests/docker-compose.yml</code> I have the following service defined:</p>

<pre><code>services:
  test:
    build:
      context: ../
      dockerfile: ../docker/cli/Dockerfile
  ...
</code></pre>

<p>When do a <code>docker-compose build</code> I get:</p>

<pre><code>Building test
ERROR: Forbidden path outside the build context: ../docker/cli ()
</code></pre>