From 02c6d4d46643beafe1a806143380ab538be9a6f5 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Tue, 7 Nov 2023 14:08:04 +0100 Subject: [PATCH] demo Signed-off-by: Martyn Ranyard --- tauri-runner/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tauri-runner/Dockerfile 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