During dockerbuild, I'd like to install a (rather big) RPM from build context/host without copying it first into the image in order to keep my image small. Ideally, there would be a way to read a file directly from build context.
What are my options (beside using a HTTP server on the host)? What are the best practices for this use-case?