I have following docker file, I want to specifically install a rpm file that is available on my disk as I am building docker instance. My invocation of rpm install looks like th
Suppose you have your Dockerfile available at /opt/myproject/. Then first you have to put rpm inside /opt/myproject and then add
/opt/myproject/.
rpm
/opt/myproject
Add /xyz.rpm /xyz.rpm RUN rpm -i xyz.rpm