diff options
| author | JPVenson <github@jpb.email> | 2024-11-30 12:07:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-30 12:07:48 +0100 |
| commit | 556f4c4bfbf915eec3b1b9983f1c132916281b67 (patch) | |
| tree | 47beccaea835e26ce7ffdd20fa7709f2b11f824a /.devcontainer/install-ffmpeg.sh | |
| parent | b03f478867d4d581d45322f3048874226acf9aba (diff) | |
Updated DevContainer to Bookworm Debian (#13037)
* Updated DevContainer to Bookworm Debian
Removed dual container and made FFmpeg install default
* Update .devcontainer/devcontainer.json
Co-authored-by: Bond-009 <bond.009@outlook.com>
* Fixed Tabs
---------
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to '.devcontainer/install-ffmpeg.sh')
| -rw-r--r-- | .devcontainer/install-ffmpeg.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.devcontainer/install-ffmpeg.sh b/.devcontainer/install-ffmpeg.sh new file mode 100644 index 000000000..842a53255 --- /dev/null +++ b/.devcontainer/install-ffmpeg.sh @@ -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-ffmpeg7 -y |
