diff --git a/tauri-runner/Dockerfile b/tauri-runner/Dockerfile new file mode 100644 index 0000000..ff7db22 --- /dev/null +++ b/tauri-runner/Dockerfile @@ -0,0 +1,11 @@ +FROM debian:bullseye-slim + +RUN apt-get update +RUN apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev nsis lld llvm jq curl wget +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 && \ + cargo install xwin && \ + xwin --accept-license splat --output ~/.xwin --disable-symlinks' +ADD config.toml .cargo/config.toml