Create Docker Image

Hello,
I have no experience with the creation of Docker Images.
But at the moment I have a program which I want to run in a container so I have to create an image.

To install he program on my RHEL I have to perform:
su -c ‘/bin/sh myprogram.sh

How will my dockerfile look to create this image?

Thanks

Please refer
https://docs.docker.com/engine/userguide/containers/dockerimages/