Iterate in RUN command in Dockerfile : <p>I have a line that looks something like: </p>

<pre><code>RUN for i in `x y z`; do echo "$i"; done
</code></pre>

<p>...with the intention of printing each of the three items</p>

<p>But it raises <code>/bin/sh: 1: x: not found</code></p>

<p>Any idea what I'm doing wrong?</p>
