diff options
| author | JPVenson <JPVenson@users.noreply.github.com> | 2024-01-06 22:35:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-06 13:35:15 -0700 |
| commit | 5ff7c17daf706250ff6052cfd3de2e946a8e6e00 (patch) | |
| tree | 0434212652fa8fbd31ad9644365337a4f9ec29e8 /.devcontainer | |
| parent | 43b32b0d94d4deef49bbca735dc50447acdb9250 (diff) | |
Feature/enable gh codespaces (#10324)
* Added BindAll network Manager
* Updated docs
* Update ApplicationHost.cs
resolved merge conflicts
* Fixed merge issues
* Updated Dev container to dotnet
* Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
* Updates container to include dependencies
* Resolved merge conflicts
* Updated container config to automate setup more
* Updated readme
* Enabled auto loading of extensions
* fixed recommended list not parsable
* Removed obsolete code
* Reverted change to virtualize GetAllBindInterfaces
* Updated Readme
* Update devcontainer.json
---------
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to '.devcontainer')
| -rw-r--r-- | .devcontainer/devcontainer.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..063901c80 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,28 @@ +{ + "name": "Development Jellyfin Server", + "image":"mcr.microsoft.com/devcontainers/dotnet:8.0-jammy", + // restores nuget packages, installs the dotnet workloads and installs the dev https certificate + "postStartCommand": "dotnet restore; dotnet workload update; dotnet dev-certs https --trust", + // reads the extensions list and installs them + "postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension", + "features": { + "ghcr.io/devcontainers/features/dotnet:2": { + "version": "none", + "dotnetRuntimeVersions": "8.0", + "aspNetCoreRuntimeVersions": "8.0" + }, + "ghcr.io/devcontainers-contrib/features/apt-packages:1": { + "preserve_apt_list": false, + "packages": ["libfontconfig1"] + }, + "ghcr.io/devcontainers/features/docker-in-docker:2": { + "dockerDashComposeVersion": "v2" + }, + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {} + }, + "hostRequirements": { + "memory": "8gb", + "cpus": 4 + } +} |
