aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-02-11 16:47:03 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-02-11 16:47:03 -0500
commite339eee1b9aeb0ce2000c4adb61c00f4c0d981fa (patch)
treeadf390a1fd9f7fb99d32ee41ae982fc5a8e953f3 /linux
parentAdd portable linux build (diff)
downloadjellyfin-packaging-e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa.tar.gz
jellyfin-packaging-e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa.tar.bz2
jellyfin-packaging-e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa.zip
Combine all portable archive builds
Diffstat (limited to 'linux')
l---------linux/Dockerfile1
-rwxr-xr-xlinux/build.sh37
2 files changed, 0 insertions, 38 deletions
diff --git a/linux/Dockerfile b/linux/Dockerfile
deleted file mode 120000
index 3bf4a35..0000000
--- a/linux/Dockerfile
+++ /dev/null
@@ -1 +0,0 @@
-../portable/Dockerfile \ No newline at end of file
diff --git a/linux/build.sh b/linux/build.sh
deleted file mode 100755
index 8af10ee..0000000
--- a/linux/build.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-#= Debian .deb builder
-
-set -o errexit
-set -o xtrace
-
-# Create the intermediate build dir
-BUILD_DIR="/build"
-mkdir -p ${BUILD_DIR}
-
-# Move to source directory
-pushd "${SOURCE_DIR}"
-
-# Build server
-pushd jellyfin-server
-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime linux-${DARCH} --output ${BUILD_DIR}/ -p:DebugSymbols=false -p:DebugType=none -p:UseAppHost=false
-popd
-
-# Build web
-pushd jellyfin-web
-npm ci --no-audit --unsafe-perm
-npm run build:production
-mv dist ${BUILD_DIR}/jellyfin-web
-popd
-
-mkdir -p "${ARTIFACT_DIR}/"
-
-pushd ${BUILD_DIR}
-tar -czf "${ARTIFACT_DIR}"/jellyfin_${JVERS}-${PARCH}.tar.gz .
-popd
-
-# Clean up any lingering artifacts
-make -f debian/rules clean
-rm -rf ${BUILD_DIR}
-
-popd
bgstack15