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?

  • Cannot run script added to existing docker container
  • Docker db container running. Another process with pid <id> is using unix socket file
  • Running OpenSSH in an Alpine Docker Container
  • docker-machine: Can't access container's web server from host
  • What alternatives are there for Docker on Solaris 11.3?
  • Installing Docker into Vagrant VM failed
  • 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?

  • Running PostgreSql inside Docker
  • How to send network packets to the docker container?
  • Debug set always restart container docker
  • Install pylint in Alpine Linux based Docker Image
  • getting error /bin/sh: 1: source: not found
  • How to execute docker commands after a process has started
  • 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.