how to get maven artifacts to be available to Dockerfile COPY phase
<p>my ansible.yml</p>

<pre><code>- maven_artifact: 
    group_id=some.group
    artifact_id=tagger
    extension=zip                
    repository_url=some_url

- name: Build tagger in command line
    command: docker build -t tagger:1.0 path.to.docker.fil
</code></pre>

<p>my Dockerfile</p>

<pre><code>ADD tagger.zip  /tmp/tagger.zip
</code></pre>

<p>the error is lstat file not found (didn't see any dockerfile.ignore around)</p>

<pre><code>lstat ./tagger.zip: no such file or directory
</code></pre>

<p>I see that the artifact is getting by default to root, added also "dest" to maven step - in short - where does ansible waits for stuff in his "COPY" phase? is there some intermediate folder in /tmp? how I can link those two steps</p>