Docker Community Forums

Share and learn in the Docker community.

Dockerfile is there a way to temporarily mount a host dircetory


(Clubbing80s) #1

Hi.

Is there a way to temporarily mount a directory while using dockerfile for the purpose of installing rpms? I don’t want the rpm files to be in on the docker image filesystem as its a waste of space etc.

Thank you
Greg