This image has been modified ubuntu into alpine image, because of the small image size of alpine. It is only 243.4MB.
Also the firefox has been updated into v54.
This Docker image is pre-made of Python's Selenium and Firefox v54.
Everything works great.
run below command:
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix niranjanshr13/selenium_firefox