Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-11-07 14:08:04 +01:00
parent 662d16f1a5
commit 02c6d4d466
1 changed files with 11 additions and 0 deletions

11
tauri-runner/Dockerfile Normal file
View File

@ -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