-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
115 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
# [Choice] .NET version: 5.0, 3.1, 2.1 | ||
ARG VARIANT="5.0" | ||
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:${VARIANT} | ||
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-5.0-focal | ||
|
||
# We need to install .NET Core 3.1 for fornax | ||
RUN wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ | ||
&& dpkg -i packages-microsoft-prod.deb \ | ||
&& apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends dotnet-runtime-3.1 | ||
# [Optional] Uncomment this section to install additional OS packages. | ||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
# && apt-get -y install --no-install-recommends <your-package-list-here> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,38 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/dotnet-fsharp | ||
{ | ||
"name": "F# (.NET Core)", | ||
"name": "F# (.NET)", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
// Update 'VARIANT' to pick a .NET Core version: 2.1, 3.1 | ||
"VARIANT": "0.153.0-5.0", | ||
} | ||
"args": {} | ||
}, | ||
// Set container specific defaults for F# in .NET Core 2.1+ | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"FSharp.fsacRuntime": "netcore", | ||
"FSharp.useSdkScripts": true | ||
"terminal.integrated.profiles.linux": { | ||
"bash": { | ||
"path": "bash" | ||
}, | ||
"zsh": { | ||
"path": "zsh" | ||
} | ||
}, | ||
"FSharp.dotnetRoot": "/bin" | ||
}, | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ionide.ionide-fsharp", | ||
"ionide.ionide-fake", | ||
"ionide.ionide-paket", | ||
"ms-dotnettools.csharp", | ||
"editorconfig.editorconfig", | ||
"ybaumes.highlight-trailing-white-spaces", | ||
"aaron-bond.better-comments", | ||
"gruntfuggly.todo-tree", | ||
"ybaumes.highlight-trailing-white-spaces" | ||
"ms-dotnettools.csharp", | ||
"Ionide.Ionide-fsharp", | ||
], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [ | ||
8080 | ||
], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "dotnet tool restore && dotnet restore", | ||
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. | ||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"files.trimFinalNewlines": true | ||
"files.trimFinalNewlines": true, | ||
"FSharp.workspacePath": "TypedPersistence.sln" | ||
} |
Oops, something went wrong.