jellyfin/.devcontainer/devcontainer.json
JPVenson 5ff7c17daf
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>
2024-01-06 13:35:15 -07:00

29 lines
1.1 KiB
JSON

{
"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
}
}