How to install jenkins on RHEL7 base image in Docker

Hi All,

I am new to Docker and want to ask a question please help me understand. My requirement is as given below:-

  1. I have to take RHEL7 image
  2. Create a container using RHEL7 image
  3. Install Jenkins in this container
  4. launch jenkins and run a job
  5. Create this working container as a Image.