Initial commit: X-Plane G1000 web cockpit + bridge + Tauri desktop app
- server/: Node bridge (datarefs/commands, navdata, CIFP procedures, flight plan) - web/: React cockpit (PFD/MFD/Map, VFR six-pack, AFCS, FMS CDU), PWA, collapsible sidebar - desktop/: Tauri 2 launcher (Bun sidecar, system tray, updater) + Linux build via Docker - scripts/: prep-desktop, build-linux, Gitea release + latest.json Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user