fix(windows): use NSIS 3.11 builder with restart manager include
This commit is contained in:
parent
133e0f2d81
commit
d79fffed5e
@ -1,4 +1,4 @@
|
|||||||
FROM node:24-bookworm AS build
|
FROM node:24-trixie AS build
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
@ -19,6 +19,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|||||||
wget \
|
wget \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Tauri's NSIS template requires Win/RestartManager.nsh (NSIS 3.11+).
|
||||||
|
RUN test -f /usr/share/nsis/Include/Win/RestartManager.nsh
|
||||||
|
|
||||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
|
||||||
ENV PATH="/root/.cargo/bin:$PATH"
|
ENV PATH="/root/.cargo/bin:$PATH"
|
||||||
ENV CARGO_BUILD_JOBS=1
|
ENV CARGO_BUILD_JOBS=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user