build: add AppImage packaging pipeline and build scripts

This commit is contained in:
dev 2026-03-04 11:08:29 +00:00
parent 7b4a9c1fe3
commit 26eaf8cf68
6 changed files with 220 additions and 0 deletions

View file

@ -0,0 +1,34 @@
FROM ubuntu:24.04
COPY --from=ghcr.io/astral-sh/uv:0.10.2 /uv /uvx /usr/local/bin/
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y --no-install-recommends \
binutils \
ca-certificates \
desktop-file-utils \
fakeroot \
file \
libgdk-pixbuf2.0-bin \
libglib2.0-bin \
libgtk-3-bin \
libfuse2 \
librsvg2-bin \
patchelf \
python3 \
python3-pip \
python3-setuptools \
squashfs-tools \
strace \
xz-utils \
zsync \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install --no-cache-dir --break-system-packages \
"packaging<21" \
appimage-builder
WORKDIR /work