Files
marqdo-app-harness/scripts/tauri/Dockerfile
T
cflmy fafb49a633
ci/woodpecker/push/tauri-linux Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci/woodpecker/pr/tauri-linux Pipeline is pending
ci/woodpecker/push/ci Pipeline was canceled
build(mqdh): pin the Tauri crate graph and build image recipe (#31)
- commit Cargo.lock for the desktop shell
- generate the desktop icon set from the existing approved MQDH icon
- add the app-owned Tauri build image Dockerfile/build script
- record the pinned Tauri CLI 2.13.0 and Rust 1.100 toolchain
2026-12-03 12:39:54 +08:00

20 lines
970 B
Docker

# MQDH Tauri Linux build image (app-owned; not a shared ecosystem image).
#
# Base is the same Debian 12 / glibc 2.36 line the deb is built on. `debs/` and
# `lists/` are populated by scripts/tauri/build-image.sh from the pinned Debian
# bookworm package set so the image build itself needs no apt network access.
FROM node:24.22.3-bookworm
COPY lists/ /var/lib/apt/lists/
COPY debs/ /tmp/debs/
RUN cp /tmp/debs/*.deb /var/cache/apt/archives/ \
&& apt-get install -y --no-install-recommends --no-download \
libwebkit2gtk-4.1-dev libgtk-3-dev librsvg2-dev libssl-dev \
patchelf pkg-config build-essential file \
&& rm -rf /tmp/debs /var/lib/apt/lists/*
ENV RUSTUP_HOME=/opt/rustup CARGO_HOME=/opt/cargo
RUN curl -sSf --retry 3 https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.100.0 \
&& /opt/cargo/bin/cargo --version
ENV PATH=/opt/cargo/bin:$PATH
RUN npm i -g @tauri-apps/cli@2.13.0 && tauri --version
WORKDIR /work