瀏覽代碼

Fix build and changed debian to bookworm

Uruk 1 年之前
父節點
當前提交
f3b882d0e2

+ 1 - 1
deployment/Dockerfile.debian.amd64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.debian.arm64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.debian.armhf

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.docker.amd64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 
 
 ARG SOURCE_DIR=/src
 ARG SOURCE_DIR=/src
 ARG ARTIFACT_DIR=/jellyfin
 ARG ARTIFACT_DIR=/jellyfin

+ 1 - 1
deployment/Dockerfile.docker.arm64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 
 
 ARG SOURCE_DIR=/src
 ARG SOURCE_DIR=/src
 ARG ARTIFACT_DIR=/jellyfin
 ARG ARTIFACT_DIR=/jellyfin

+ 1 - 1
deployment/Dockerfile.docker.armhf

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 
 
 ARG SOURCE_DIR=/src
 ARG SOURCE_DIR=/src
 ARG ARTIFACT_DIR=/jellyfin
 ARG ARTIFACT_DIR=/jellyfin

+ 1 - 1
deployment/Dockerfile.linux.amd64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.linux.amd64-musl

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.linux.arm64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.linux.armhf

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.linux.musl-linux-arm64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.macos.amd64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.macos.arm64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.portable

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 1 - 1
deployment/Dockerfile.windows.amd64

@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim
+FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
 # Docker build arguments
 # Docker build arguments
 ARG SOURCE_DIR=/jellyfin
 ARG SOURCE_DIR=/jellyfin
 ARG ARTIFACT_DIR=/dist
 ARG ARTIFACT_DIR=/dist

+ 2 - 2
deployment/build.debian.amd64

@@ -9,9 +9,9 @@ set -o xtrace
 pushd ${SOURCE_DIR}
 pushd ${SOURCE_DIR}
 
 
 if [[ ${IS_DOCKER} == YES ]]; then
 if [[ ${IS_DOCKER} == YES ]]; then
-    # Remove build-dep for dotnet-sdk-7.0, since it's installed manually
+    # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
     cp -a debian/control /tmp/control.orig
     cp -a debian/control /tmp/control.orig
-    sed -i '/dotnet-sdk-7.0,/d' debian/control
+    sed -i '/dotnet-sdk-8.0,/d' debian/control
 fi
 fi
 
 
 # Modify changelog to unstable configuration if IS_UNSTABLE
 # Modify changelog to unstable configuration if IS_UNSTABLE

+ 2 - 2
deployment/build.debian.arm64

@@ -9,9 +9,9 @@ set -o xtrace
 pushd ${SOURCE_DIR}
 pushd ${SOURCE_DIR}
 
 
 if [[ ${IS_DOCKER} == YES ]]; then
 if [[ ${IS_DOCKER} == YES ]]; then
-    # Remove build-dep for dotnet-sdk-7.0, since it's installed manually
+    # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
     cp -a debian/control /tmp/control.orig
     cp -a debian/control /tmp/control.orig
-    sed -i '/dotnet-sdk-7.0,/d' debian/control
+    sed -i '/dotnet-sdk-8.0,/d' debian/control
 fi
 fi
 
 
 # Modify changelog to unstable configuration if IS_UNSTABLE
 # Modify changelog to unstable configuration if IS_UNSTABLE

+ 2 - 2
deployment/build.debian.armhf

@@ -9,9 +9,9 @@ set -o xtrace
 pushd ${SOURCE_DIR}
 pushd ${SOURCE_DIR}
 
 
 if [[ ${IS_DOCKER} == YES ]]; then
 if [[ ${IS_DOCKER} == YES ]]; then
-    # Remove build-dep for dotnet-sdk-7.0, since it's installed manually
+    # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
     cp -a debian/control /tmp/control.orig
     cp -a debian/control /tmp/control.orig
-    sed -i '/dotnet-sdk-7.0,/d' debian/control
+    sed -i '/dotnet-sdk-8.0,/d' debian/control
 fi
 fi
 
 
 # Modify changelog to unstable configuration if IS_UNSTABLE
 # Modify changelog to unstable configuration if IS_UNSTABLE

+ 2 - 2
deployment/build.ubuntu.amd64

@@ -9,9 +9,9 @@ set -o xtrace
 pushd ${SOURCE_DIR}
 pushd ${SOURCE_DIR}
 
 
 if [[ ${IS_DOCKER} == YES ]]; then
 if [[ ${IS_DOCKER} == YES ]]; then
-    # Remove build-dep for dotnet-sdk-7.0, since it's installed manually
+    # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
     cp -a debian/control /tmp/control.orig
     cp -a debian/control /tmp/control.orig
-    sed -i '/dotnet-sdk-7.0,/d' debian/control
+    sed -i '/dotnet-sdk-8.0,/d' debian/control
 fi
 fi
 
 
 # Modify changelog to unstable configuration if IS_UNSTABLE
 # Modify changelog to unstable configuration if IS_UNSTABLE

+ 2 - 2
deployment/build.ubuntu.arm64

@@ -9,9 +9,9 @@ set -o xtrace
 pushd ${SOURCE_DIR}
 pushd ${SOURCE_DIR}
 
 
 if [[ ${IS_DOCKER} == YES ]]; then
 if [[ ${IS_DOCKER} == YES ]]; then
-    # Remove build-dep for dotnet-sdk-7.0, since it's installed manually
+    # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
     cp -a debian/control /tmp/control.orig
     cp -a debian/control /tmp/control.orig
-    sed -i '/dotnet-sdk-7.0,/d' debian/control
+    sed -i '/dotnet-sdk-8.0,/d' debian/control
 fi
 fi
 
 
 # Modify changelog to unstable configuration if IS_UNSTABLE
 # Modify changelog to unstable configuration if IS_UNSTABLE

+ 2 - 2
deployment/build.ubuntu.armhf

@@ -9,9 +9,9 @@ set -o xtrace
 pushd ${SOURCE_DIR}
 pushd ${SOURCE_DIR}
 
 
 if [[ ${IS_DOCKER} == YES ]]; then
 if [[ ${IS_DOCKER} == YES ]]; then
-    # Remove build-dep for dotnet-sdk-7.0, since it's installed manually
+    # Remove build-dep for dotnet-sdk-8.0, since it's installed manually
     cp -a debian/control /tmp/control.orig
     cp -a debian/control /tmp/control.orig
-    sed -i '/dotnet-sdk-7.0,/d' debian/control
+    sed -i '/dotnet-sdk-8.0,/d' debian/control
 fi
 fi
 
 
 # Modify changelog to unstable configuration if IS_UNSTABLE
 # Modify changelog to unstable configuration if IS_UNSTABLE