1
0
Эх сурвалжийг харах

Add "fsharp" (F#) (#641)

* Add F# to docs

See https://github.com/docker-library/official-images/pull/1201

* Tweak a few bits for markdownfmt and length
Tianon Gravi 9 жил өмнө
parent
commit
7d8c023404

+ 1 - 0
fsharp/README-short.txt

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

+ 21 - 0
fsharp/content.md

@@ -0,0 +1,21 @@
+# 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)](https://en.wikipedia.org/wiki/F_Sharp_%28programming_language%29)
+
+%%LOGO%%
+
+# 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:
+
+```dockerfile
+FROM fsharp:latest
+COPY . /app
+RUN xbuild /app/myproject.sln
+```
+
+This will copy your application source code into the image and use `xbuild` to build it.

+ 1 - 0
fsharp/github-repo

@@ -0,0 +1 @@
+https://github.com/fsprojects/docker-fsharp

+ 1 - 0
fsharp/license.md

@@ -0,0 +1 @@
+View [the Apache 2.0 license](https://github.com/fsharp/fsharp/blob/d518f91418ef43a61875a5d932147b97fd0f47f3/LICENSE) for the software contained in this image.

BIN
fsharp/logo.png