tftsr-devops_investigation/.docker/Dockerfile.windows-cross
Shaun Arman 7323c93463
Some checks failed
Test / rust-fmt-check (pull_request) Failing after 0s
Test / rust-clippy (pull_request) Failing after 0s
Test / rust-tests (pull_request) Failing after 0s
Test / frontend-tests (pull_request) Failing after 1m19s
Test / frontend-typecheck (pull_request) Successful in 1m26s
PR Review Automation / review (pull_request) Successful in 2m55s
docs(docker): expand rebuild trigger comments to include OpenSSL and Tauri CLI
2026-04-12 18:54:57 -05:00

23 lines
814 B
Docker

# Pre-baked cross-compiler for Windows amd64 Tauri releases (runs on Linux amd64).
# All MinGW and Node.js dependencies are installed once here; CI jobs skip apt-get entirely.
# Rebuild when: Rust toolchain version changes, Node.js major version changes,
# OpenSSL major version changes (used via OPENSSL_STATIC=1), or Tauri CLI changes
# that affect bundler system deps.
# Tag format: rust<VER>-node<VER>
FROM rust:1.88-slim
RUN apt-get update -qq \
&& apt-get install -y -qq --no-install-recommends \
mingw-w64 \
curl \
nsis \
perl \
make \
jq \
git \
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN rustup target add x86_64-pc-windows-gnu