FROM debian:bullseye-slim RUN apt-get update # First line is tauri deps, second our templating and icon manipulation ci stuff, third is for apple compile RUN apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev nsis lld llvm \ jq curl wget inkscape imagemagick nodejs git \ clang gcc g++ zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev cmake make tar patch lzma-dev libssl-dev xz-utils bzip2 cpio sed libbz2-dev zlib1g-dev llvm-dev RUN sh -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh' RUN sh /tmp/rustup.sh -y && sh -c \ '. $HOME/.cargo/env && \ rustup target add x86_64-pc-windows-msvc && \ rustup target add x86_64-apple-darwin && \ cargo install xwin tauri-cli create-tauri-app && \ xwin --accept-license splat --output ~/.xwin --disable-symlinks' ADD osxcross_setup.sh /tmp/osxcross_setup.sh RUN sh /tmp/osxcross_setup.sh ADD config.toml .cargo/config.toml