fsharp
Estimated reading time: 2 minutesF# 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
latest
,10
,10.2
,10.2.3
(10.2.3/mono/Dockerfile)4
,4.1
,4.1.34
(4.1.34/mono/Dockerfile)netcore
,10-netcore
,10.2-netcore
,10.2.3-netcore
(10.2.3/netcore/Dockerfile)
Quick reference
-
Where to get help:
the Docker Community Forums, the Docker Community Slack, or Stack Overflow -
Where to file issues:
https://github.com/fsprojects/docker-fsharp/issues -
Maintained by:
the F# Community -
Published image artifact details:
repo-info repo’srepos/fsharp/
directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images PRs with labellibrary/fsharp
official-images repo’slibrary/fsharp
file (history) -
Source of this description:
docs repo’sfsharp/
directory (history) -
Supported Docker versions:
the latest release (down to 1.6 on a best-effort basis)
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.
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.
License
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.