Quick way to add multiple RPM's to a dockerfile

I have a Docker image where I am trying to add a bunch of differnet RPM’s. I saw the topic on Github about adding a singular RPM –

How to install a local rpm file when building docker instance?

  • How to install python2.6 in alpine container?
  • Remove an image from hub
  • Use real server instead of docker-machine for OSX
  • xdebug not working in Docker for Mac
  • can't run docker image of jhipster webapp
  • Maximum TCP connections (with different IPs/containers)
  • However, I am trying to add quite a few different RPM’s, so this method would be rather tedious. Is there a more efficient way to just add a folder thats filled with RPM’s?

  • Mongo DB collections are not found
  • docker daemon logs are missing
  • How to set fixed ip address for container using docker-compose?
  • can't access apache on docker from my localhost
  • Environment variables from env fiile in entrypoint in docker-compose.yml
  • Docker: cannot link containers in --net=host mode
  • One Solution collect form web for “Quick way to add multiple RPM's to a dockerfile”

    You can add all forder with your RPMs

    ADD /path_to_all_rpm_location_in_local_machine /path_to_place_rpm_in_docker
    

    Or you can add each one PRM by one command ADD

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.