A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.
FROM debian:trixie
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apt-utils \
build-essential \
cmake \
extra-cmake-modules \
qt6-base-dev \
qt6-declarative-dev \
qt6-svg-dev \
pkgconf \
libkf6config-dev \
libkf6coreaddons-dev \
libkf6i18n-dev \
libkf6jobwidgets-dev \
libkf6kio-dev \
libkf6kcmutils-dev \
libkf6service-dev \
libkf6solid-dev \
libkf6windowsystem-dev \
libkf6colorscheme-dev \
libkscreen-dev \
libkf6sonnet-dev \
libkf6networkmanagerqt-dev \
libkf6globalaccel-dev \
libsdl2-dev \
breeze-cursor-theme \
libkf6purpose-dev \
libkf6guiaddons-dev \
libkf6notifications-dev \
libkpipewire-dev \
unicode-data \
unicode-cldr-core \
libpackagekitqt6-dev \
libappstreamqt-dev \
libflatpak-dev \
libqtermwidget-dev \
libutf8proc-dev \
qt6-wayland-dev \
qt6-wayland-dev-tools \
plasma-wayland-protocols \
libwayland-dev \
libpolkit-qt6-1-dev \
liblayershellqtinterface-dev \
libkf6dbusaddons-dev \
libhivex-dev \
libkf6archive-dev \
libkf6filemetadata-dev \
kwin-dev \
libcups2-dev \
libglib2.0-dev \
libcamel1.2-dev \
libedataserver1.2-dev \
liblitehtml-dev \
qtkeychain-qt6-dev \
libksysguard-dev \
python3 \
python3-pil \
ca-certificates \
debhelper \
dosfstools \
dpkg-dev \
grub-efi-amd64-bin \
grub-pc-bin \
imagemagick \
isomd5sum \
librsvg2-bin \
mmdebstrap \
mtools \
squashfs-tools \
xorriso \
zstd \
&& rm -rf /var/lib/apt/lists/*
# wildos-winmode: mono's C# compiler builds wild-guest, the helper that runs
# inside Windows mode, monodis checks it only uses API Windows has, and
# python3-gi lets its tests import the service.
# A layer of its own, so adding it does not rebuild the one above.
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
mono-mcs \
libmono-system-serviceprocess4.0-cil \
mono-utils \
python3-gi \
gir1.2-glib-2.0 \
&& rm -rf /var/lib/apt/lists/*
# wildos-rdp, Windows mode's window client, builds against FreeRDP 3.32
# from trixie-backports, the version the image pins (wildos-base's
# wildos-freerdp.pref); trixie's own 3.15 drew RemoteApp windows wrongly.
# wayland-protocols has the window icon protocol it speaks to KWin.
RUN echo "deb http://deb.debian.org/debian trixie-backports main" > /etc/apt/sources.list.d/backports.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends -t trixie-backports \
freerdp3-dev \
libwinpr3-dev \
&& apt-get install -y --no-install-recommends \
wayland-protocols \
&& rm -rf /var/lib/apt/lists/*
# Calendar (wildos-mail) builds against evolution-data-server's calendar
# library. New build dependencies go in layers of their own like this one:
# adding one to the big list above makes Docker reinstall all of it.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libecal2.0-dev \
&& rm -rf /var/lib/apt/lists/*
# Quick Look in Files (wildos-files) previews PDFs through QtQuick.Pdf; its
# QML is compiled against the module's types.
RUN apt-get update \
&& apt-get install -y --no-install-recommends qml6-module-qtquick-pdf qml6-module-qtmultimedia \
&& rm -rf /var/lib/apt/lists/*
# wildos-setup's wallet key service checks the account's password with PAM
# before it keeps a key for automatic sign-in.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libpam0g-dev \
&& rm -rf /var/lib/apt/lists/*
# The repacked security-misc-shared ships emerg-shutdown and fm-shim-backend
# compiled here (build.sh); fm-shim-backend links D-Bus and libsystemd and
# finds them with pkg-config.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libdbus-1-dev libsystemd-dev pkgconf \
&& rm -rf /var/lib/apt/lists/*
# The password strength hint in Settings and first boot setup scores the
# password with libpwquality.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libpwquality-dev \
&& rm -rf /var/lib/apt/lists/*
# PDF (wildos-pdf) draws pages, fills in forms and writes notes and
# signatures with Poppler's Qt 6 library.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libpoppler-qt6-dev \
&& rm -rf /var/lib/apt/lists/*
# Music (wildos-music) plays through Qt Multimedia, whose trixie build
# decodes with FFmpeg, and reads tags, covers and lyrics with TagLib 2.
RUN apt-get update && apt-get install -y --no-install-recommends qt6-multimedia-dev libtag-dev && rm -rf /var/lib/apt/lists/*
# Compiles go through ccache (a volume shared by every build, see
# build-iso.sh), so a package whose code barely changed rebuilds in seconds.
RUN apt-get update \
&& apt-get install -y --no-install-recommends ccache \
&& rm -rf /var/lib/apt/lists/*
# LibreOffice is rebuilt with build/patches/libreoffice (see build.sh). Its
# build dependencies come to about 1000 packages and 3 GB, so they are
# installed once here instead of at every rebuild. Debian's own build
# profiles leave out the tests and documentation.
RUN echo "deb-src http://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/libreoffice-src.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get build-dep -y -P nocheck,nodoc,noinsttest libreoffice \
&& rm /etc/apt/sources.list.d/libreoffice-src.list \
&& rm -rf /var/lib/apt/lists/*
# Videos (wildos-videos) plays and draws video with libmpv, through its
# OpenGL render API, and makes its thumbnails with it too. Last, so the
# LibreOffice layer above stays cached.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libmpv-dev \
&& rm -rf /var/lib/apt/lists/*
# Voice (wildos-voice) writes its recordings with libopusenc and reads them
# back for waveforms and transcripts with opusfile. whisper.cpp is built
# from the copy in the package. Last, so the LibreOffice layer stays cached.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libopusenc-dev libopusfile-dev \
&& rm -rf /var/lib/apt/lists/*
# The start-up manager (wildos-startup) draws with cairo and pango, looks
# for other systems with libblkid and checks a password with libcrypt.
# Last, so the LibreOffice layer stays cached.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libcairo2-dev libpango1.0-dev libblkid-dev libcrypt-dev pkgconf \
&& rm -rf /var/lib/apt/lists/*
# Cooler (wildos-cooler) compiles its screen faces' shaders with Qt's shader
# tools and dims the cooler's screen when KIdleTime says the PC is idle.
# Last, so no layer above is built again.
RUN apt-get update \
&& apt-get install -y --no-install-recommends qt6-shadertools-dev libkf6idletime-dev \
&& rm -rf /var/lib/apt/lists/*