Files
Andrew Rabert bcd2326971 Add AppImage build support
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.
2026-02-21 00:00:13 -05:00

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"