diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-11 16:47:03 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-11 16:47:03 -0500 |
commit | e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa (patch) | |
tree | adf390a1fd9f7fb99d32ee41ae982fc5a8e953f3 /linux | |
parent | Add portable linux build (diff) | |
download | jellyfin-packaging-e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa.tar.gz jellyfin-packaging-e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa.tar.bz2 jellyfin-packaging-e339eee1b9aeb0ce2000c4adb61c00f4c0d981fa.zip |
Combine all portable archive builds
Diffstat (limited to 'linux')
l--------- | linux/Dockerfile | 1 | ||||
-rwxr-xr-x | linux/build.sh | 37 |
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 |