Changing the contents of the sources.list usnig Dockerfile

Hi All,

Im pretty new to the Docker world. I have a small problem.

I want to take backup of the sources.list file of the debain:buster_slim image and have to create new source.list file with my repo entries.

Please someone help me with the Dockerfle commands.

Thanks,
Amith