Comment passer des arguments à un Dockerfile?

Je suis à l'aide d'EXÉCUTER une instruction dans un Dockerfile pour installer un rpm

RUN yum -y install samplerpm-2.3

Cependant, je veux passer la valeur "2.3" comme argument.
Mon EXÉCUTEZ l'instruction devrait ressembler à quelque chose comme:

RUN yum -y install samplerpm-$arg

$arg=2.3

InformationsquelleAutor meallhour | 2015-12-13