mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
Docker-based build on Arch Linux that ships the full library stack (including glibc) for cross-distro compatibility. Uses the bundled ld-linux as the interpreter to bypass host glibc version requirements. GPU/graphics libraries are excluded from the bundle and loaded from the host system to match the kernel GPU driver.
23 lines
538 B
Bash
Executable File
23 lines
538 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
OUTPUT_DIR="${1:-$PROJECT_ROOT/build/appimage}"
|
|
|
|
mkdir -p "$OUTPUT_DIR"
|
|
|
|
echo "Building Jellyfin Desktop AppImage..."
|
|
docker build \
|
|
-t jellyfin-desktop-appimage \
|
|
-f "$SCRIPT_DIR/Dockerfile" \
|
|
"$PROJECT_ROOT"
|
|
|
|
echo "Extracting AppImage..."
|
|
docker run --rm \
|
|
-v "$OUTPUT_DIR:/host-output" \
|
|
jellyfin-desktop-appimage
|
|
|
|
echo ""
|
|
echo "AppImage: $OUTPUT_DIR/JellyfinDesktop-x86_64.AppImage"
|