Some checks failed
Test / rust-fmt-check (pull_request) Failing after 13s
Test / rust-clippy (pull_request) Failing after 16s
Test / rust-tests (pull_request) Failing after 20s
Test / frontend-tests (pull_request) Successful in 1m29s
Test / frontend-typecheck (pull_request) Successful in 1m32s
PR Review Automation / review (pull_request) Failing after 4m55s
Critical fixes for CI/CD workflows: 1. Reverted gitea.tftsr.com:3000 → 172.0.0.29:3000 in ALL workflow files - CI runners MUST use internal IP address 172.0.0.29 - This was incorrectly sanitized in the initial backport 2. Removed GitHub CLI (gh) from Dockerfiles - Replaced with commented-out tea (Gitea CLI) installation - This project uses Gitea, not GitHub Files changed: - .gitea/workflows/auto-tag.yml - Fixed 19 URLs - .gitea/workflows/build-images.yml - Fixed registry URLs - .gitea/workflows/test.yml - Fixed git remote URLs - .docker/Dockerfile.* - Removed gh CLI, added tea as optional Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
44 lines
1.6 KiB
Docker
44 lines
1.6 KiB
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 \
|
|
ca-certificates \
|
|
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/*
|
|
|
|
# tea (Gitea CLI) can be installed if needed:
|
|
# RUN curl -sL https://dl.gitea.com/tea/master/tea-master-linux-amd64 -o /usr/local/bin/tea \
|
|
# && chmod +x /usr/local/bin/tea
|
|
|
|
# Pre-build libsodium for x86_64-pc-windows-gnu so libsodium-sys-stable
|
|
# does not attempt a network download at cargo build time (no DNS in CI containers).
|
|
RUN set -eu \
|
|
&& SODIUM_VER="1.0.20" \
|
|
&& curl -fsSL "https://download.libsodium.org/libsodium/releases/libsodium-${SODIUM_VER}.tar.gz" \
|
|
| tar -xz -C /tmp \
|
|
&& cd "/tmp/libsodium-${SODIUM_VER}" \
|
|
&& ./configure \
|
|
--host=x86_64-w64-mingw32 \
|
|
--prefix=/usr/x86_64-w64-mingw32 \
|
|
--disable-shared \
|
|
--enable-static \
|
|
&& make -j"$(nproc)" \
|
|
&& make install \
|
|
&& rm -rf "/tmp/libsodium-${SODIUM_VER}"
|
|
|
|
RUN rustup target add x86_64-pc-windows-gnu
|