# Linux build image for the Tauri app (x86_64). Used to cross-build an AppImage # + .deb from the macOS dev machine via Docker (linux/amd64). The Node bridge # sidecar is compiled on the host by Bun, so this image only needs the Rust / # Tauri / GTK / WebKit toolchain. FROM rust:1-bookworm RUN apt-get update && apt-get install -y --no-install-recommends \ libwebkit2gtk-4.1-dev \ libgtk-3-dev \ libayatana-appindicator3-dev \ librsvg2-dev \ libssl-dev \ libxdo-dev \ patchelf \ file \ wget \ curl \ xz-utils \ ca-certificates \ fuse \ desktop-file-utils \ xdg-utils \ && rm -rf /var/lib/apt/lists/* # Node + a GLOBAL Tauri CLI (so we never touch the mounted node_modules, which # holds the host/macOS CLI binary). RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \ && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/* \ && npm install -g @tauri-apps/cli@2 WORKDIR /work/desktop