From 5ff7c17daf706250ff6052cfd3de2e946a8e6e00 Mon Sep 17 00:00:00 2001 From: JPVenson Date: Sat, 6 Jan 2024 22:35:15 +0200 Subject: 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 * 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 --- .devcontainer/devcontainer.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .devcontainer/devcontainer.json (limited to '.devcontainer') 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 + } +} -- cgit v1.2.3