Skip to main content
Notice removed Draw attention by MRalwasser
Bounty Ended with BMitch's answer chosen by MRalwasser
Notice added Draw attention by MRalwasser
Bounty Started worth 100 reputation by MRalwasser
added 5 characters in body
Source Link

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?

During dockerbuild, I'd like to install a (rather big) RPM from build context 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?

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?

Source Link

Install a RPM from build context without copying it first

During dockerbuild, I'd like to install a (rather big) RPM from build context 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?