devcontainer.json 1.1 KB

12345678910111213141516171819202122232425262728
  1. {
  2. "name": "Development Jellyfin Server",
  3. "image":"mcr.microsoft.com/devcontainers/dotnet:9.0-jammy",
  4. // restores nuget packages, installs the dotnet workloads and installs the dev https certificate
  5. "postStartCommand": "dotnet restore; dotnet workload update; dotnet dev-certs https --trust",
  6. // reads the extensions list and installs them
  7. "postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension",
  8. "features": {
  9. "ghcr.io/devcontainers/features/dotnet:2": {
  10. "version": "none",
  11. "dotnetRuntimeVersions": "9.0",
  12. "aspNetCoreRuntimeVersions": "9.0"
  13. },
  14. "ghcr.io/devcontainers-contrib/features/apt-packages:1": {
  15. "preserve_apt_list": false,
  16. "packages": ["libfontconfig1"]
  17. },
  18. "ghcr.io/devcontainers/features/docker-in-docker:2": {
  19. "dockerDashComposeVersion": "v2"
  20. },
  21. "ghcr.io/devcontainers/features/github-cli:1": {},
  22. "ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {}
  23. },
  24. "hostRequirements": {
  25. "memory": "8gb",
  26. "cpus": 4
  27. }
  28. }