mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-12 07:32:25 +00:00
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
"name": "Development Jellyfin Server",
|
|
"image": "mcr.microsoft.com/devcontainers/dotnet:10.0-noble",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
// restores nuget packages, installs the dotnet workloads and installs the dev https certificate
|
|
"postStartCommand": "sudo dotnet restore; sudo dotnet workload update; sudo dotnet dev-certs https --trust; sudo bash \"./.devcontainer/install-ffmpeg.sh\"",
|
|
// The previous way of installing extensions via the vs command dont work on selfhosted devcontainers
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-dotnettools.csharp",
|
|
"editorconfig.editorconfig",
|
|
"github.vscode-github-actions",
|
|
"ms-dotnettools.vscode-dotnet-runtime",
|
|
"ms-dotnettools.csdevkit",
|
|
"alexcvzz.vscode-sqlite",
|
|
"streetsidesoftware.code-spell-checker",
|
|
"eamodio.gitlens",
|
|
"redhat.vscode-xml"
|
|
]
|
|
}
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/dotnet:2": {
|
|
"version": "none",
|
|
"dotnetRuntimeVersions": "10.0",
|
|
"aspNetCoreRuntimeVersions": "10.0"
|
|
},
|
|
"ghcr.io/devcontainers-extra/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
|
|
}
|
|
}
|