The fsharp project has a official docker image https://github.com/fsprojects/docker-fsharp . The one issue with that is it is based on mono 4.0.4 which is buggy and fsharp does not work very well. The latest alpha release of the mono with which fsharp works well is 4.2.0. The 4.2.0 isn’t available in stable channels.
So I created a docker image with the latest mono from their alpha repo and using the latest fsharp from the github.
[github file = “/naveensrinivasan/fsharp-docker/blob/master/Dockerfile”]
It is also available in the docker hub. You could get it by
docker pull naveensrinivasan/fsharp