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
my Dockerfile constains these two lines:
[...]
ADD SRC/kernel-3.10.0-327.13.1.el7.x86_64.rpm /tmp/kernel-3.10.0-327.13.1.el7.x86_64.rpm
ADD SRC/kernel-devel-3.10.0-327.13.1.el7.x86_64.rpm /tmp/kernel-devel-3.10.0-327.13.1.el7.x86_64.rpm
[...]
Building image process fails with error "lstat SRC/kernel-3.10.0-327.13.1.el7.x86_64.rpm: no such file or directory"
Both RPM files are inside "SRC" folder from where I'm running "docker build".
What is the problem??
Thanks.