dockerimages/tauri-runner/Dockerfile

12 lines
531 B
Docker
Raw Normal View History

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