code-server-dotnet: initial release

This commit is contained in:
aptalca
2020-10-15 07:49:11 -04:00
parent 69f8a2efb7
commit 3259217e9d
7 changed files with 117 additions and 73 deletions
+8 -12
View File
@@ -1,17 +1,13 @@
# Rsync - Docker mod for openssh-server
# .NET Core SDK - Docker mod for code server
This mod adds rsync to openssh-server, to be installed/updated during container start.
This mod adds .NET CORE SDK to code server.
In openssh-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:openssh-server-rsync`
In code server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-dotnet`
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:openssh-server-rsync|linuxserver/mods:openssh-server-mod2`
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:code-server-dotnet|linuxserver/mods:code-server-mod2`
# Mod creation instructions
All current [lts releases](https://dotnet.microsoft.com/download/dotnet-core) will be made available inside the container (3.1.403 and 2.1.811 as of 2020/10/14).
* Fork the repo, create a new branch based on the branch `template`.
* Edit the `Dockerfile` for the mod. `Dockerfile.complex` is only an example and included for reference; it should be deleted when done.
* Inspect the `root` folder contents. Edit, add and remove as necessary.
* Edit this readme with pertinent info, delete these instructions.
* Finally edit the `travis.yml`. Customize the build branch, and the vars for `BASEIMAGE` and `MODNAME`.
* Ask the team to create a new branch named `<baseimagename>-<modname>`. Baseimage should be the name of the image the mod will be applied to. The new branch will be based on the `template` branch.
* Submit PR against the branch created by the team.
The binaries are accessible at `/dotnet_<sdkversion>/dotnet` for each respective version.
The latest version binary is symlinked from `/usr/local/bin/dotnet` so it can be called via `dotnet` from anywhere.