fix build-dependencies

This commit is contained in:
2025-08-12 21:37:57 +02:00
parent c3f8d92c4a
commit fec06ee7e0
2 changed files with 20 additions and 7 deletions

View File

@@ -26,15 +26,24 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
# 3) 32-bit Arch für wine32 + alle Build-Dependencies # 3) 32-bit Arch für wine32 + alle Build-Dependencies
RUN dpkg --add-architecture i386 \ RUN dpkg --add-architecture i386 \
&& apt-get update && apt-get install -y --no-install-recommends \ && apt-get update && apt-get install -y --no-install-recommends \
# Build basics
build-essential python3 git file xz-utils zip p7zip-full fakeroot \ build-essential python3 git file xz-utils zip p7zip-full fakeroot \
# electron-builder extras
icnsutils graphicsmagick rpm \ icnsutils graphicsmagick rpm \
# Windows / signing toolchain
g++-mingw-w64 nsis osslsigncode \ g++-mingw-w64 nsis osslsigncode \
wine32 wine64 mono-complete \ # Wine & Mono (wichtig: 'wine' Metapackage dazu!)
wine wine32 wine64 mono-complete winbind cabextract \
# headless
xvfb fontconfig \ xvfb fontconfig \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN node -v && npm -v && npx --yes electron-builder --version || true \ RUN node -v \
&& wine --version && mono --version && makensis -VERSION && npm -v \
&& npx --yes electron-builder --version || true \
&& (command -v wine >/dev/null && wine --version || wine64 --version) \
&& mono --version \
&& makensis -VERSION
WORKDIR /workspace WORKDIR /workspace
CMD [ "bash" ] CMD [ "bash" ]

View File

@@ -32,8 +32,8 @@ RUN dpkg --add-architecture i386 \
icnsutils graphicsmagick rpm \ icnsutils graphicsmagick rpm \
# Windows / signing toolchain # Windows / signing toolchain
g++-mingw-w64 nsis osslsigncode \ g++-mingw-w64 nsis osslsigncode \
# Wine & Mono # Wine & Mono (wichtig: 'wine' Metapackage dazu!)
wine32 wine64 mono-complete \ wine wine32 wine64 mono-complete winbind cabextract \
# headless # headless
xvfb fontconfig \ xvfb fontconfig \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
@@ -42,8 +42,12 @@ RUN dpkg --add-architecture i386 \
# (corepack ist bereits enabled; Projekte können `packageManager` in package.json definieren) # (corepack ist bereits enabled; Projekte können `packageManager` in package.json definieren)
# Sanity check: Versionen # Sanity check: Versionen
RUN node -v && npm -v && npx --yes electron-builder --version || true \ RUN node -v \
&& wine --version && mono --version && makensis -VERSION && npm -v \
&& npx --yes electron-builder --version || true \
&& (command -v wine >/dev/null && wine --version || wine64 --version) \
&& mono --version \
&& makensis -VERSION
# Default Arbeitsverzeichnis # Default Arbeitsverzeichnis
WORKDIR /workspace WORKDIR /workspace