Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

982 B
Raw Blame
# The LordOS Imager's Linux and Windows builds, from a Debian 13 container (docs/IMAGER.md,
# "Building the desktop downloads"). Linux: Tauri's WebKitGTK stack. Windows: cargo-xwin (the MSVC
# runtime and SDK headers, downloaded by xwin under their license) with clang and lld, and NSIS for
# the installer.
FROM debian:trixie
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
      ca-certificates curl build-essential pkg-config file xz-utils git \
      libwebkit2gtk-4.1-dev libgtk-3-dev librsvg2-dev libsoup-3.0-dev libjavascriptcoregtk-4.1-dev libssl-dev \
      clang lld llvm nsis nodejs npm \
    && rm -rf /var/lib/apt/lists/*
ENV RUSTUP_HOME=/opt/rustup CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:$PATH
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --no-modify-path \
    && rustup target add x86_64-pc-windows-msvc \
    && cargo install --locked cargo-xwin
WORKDIR /src