Estimated reading time: 2 minutes

F# is a multi-paradigm language encompassing functional, imperative, and object-oriented styles

GitHub repo: https://github.com/fsprojects/docker-fsharp

Library reference

This content is imported from the official Docker Library docs, and is provided by the original uploader. You can view the Docker Hub page for this image at https://hub.docker.com/images/fsharp

Supported tags and respective Dockerfile links

Quick reference

What is F#?

F# (pronounced F sharp) is a strongly typed, multi-paradigm programming language that encompasses functional, imperative, and object-oriented programming techniques. F# is most often used as a cross-platform CLI language, but can also be used to generate JavaScript and GPU code.

wikipedia.org/wiki/F Sharp (programming language)


How to use this image

Start your application inside this image

The most straightforward way to use this image is to use it both as the build and runtime environment. In your Dockerfile, you can write something similar to the following:

FROM fsharp
COPY . /app
RUN xbuild /app/myproject.sln

This will copy your application source code into the image and use xbuild to build it.


View the Apache 2.0 license for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository’s fsharp/ directory.

As for any pre-built image usage, it is the image user’s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

library, sample, fsharp