Merge pull request #10888 from JPVenson/feature/ghcs_ffmpegversion
Feature/ghcs ffmpegversionpull/10948/head
commit
b425b2350f
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"name": "Development Jellyfin Server - FFmpeg",
|
||||||
|
"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; sudo bash \"./.devcontainer/Dev - Server Ffmpeg/install-ffmpeg.sh\"",
|
||||||
|
// 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
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## configure the following for a manuall install of a specific version from the repo
|
||||||
|
|
||||||
|
# wget https://repo.jellyfin.org/releases/server/ubuntu/versions/jellyfin-ffmpeg/6.0.1-1/jellyfin-ffmpeg6_6.0.1-1-jammy_amd64.deb -O ffmpeg.deb
|
||||||
|
|
||||||
|
# sudo apt update
|
||||||
|
# sudo apt install -f ./ffmpeg.deb -y
|
||||||
|
# rm ffmpeg.deb
|
||||||
|
|
||||||
|
|
||||||
|
## Add the jellyfin repo
|
||||||
|
sudo apt install curl gnupg -y
|
||||||
|
sudo apt-get install software-properties-common -y
|
||||||
|
sudo add-apt-repository universe -y
|
||||||
|
|
||||||
|
sudo mkdir -p /etc/apt/keyrings
|
||||||
|
curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/jellyfin.gpg
|
||||||
|
export VERSION_OS="$( awk -F'=' '/^ID=/{ print $NF }' /etc/os-release )"
|
||||||
|
export VERSION_CODENAME="$( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release )"
|
||||||
|
export DPKG_ARCHITECTURE="$( dpkg --print-architecture )"
|
||||||
|
cat <<EOF | sudo tee /etc/apt/sources.list.d/jellyfin.sources
|
||||||
|
Types: deb
|
||||||
|
URIs: https://repo.jellyfin.org/${VERSION_OS}
|
||||||
|
Suites: ${VERSION_CODENAME}
|
||||||
|
Components: main
|
||||||
|
Architectures: ${DPKG_ARCHITECTURE}
|
||||||
|
Signed-By: /etc/apt/keyrings/jellyfin.gpg
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt install jellyfin-ffmpeg6 -y
|
Loading…
Reference in new issue