title: How to pass arguments to a Dockerfile?
body: <p>I am using RUN instruction within a <code>Dockerfile</code> to install a rpm</p>
  
  <pre><code>RUN yum -y install samplerpm-2.3
  </code></pre>
  
  <p>However, I want to pass the value "2.3" as an argument.
  My RUN instruction should look something like:</p>
  
  <pre><code>RUN yum -y install samplerpm-$arg
  </code></pre>
  
  <p>where <code>$arg=2.3</code></p>