mirror of
https://github.com/MrUnknownDE/docker-nodejs.git
synced 2026-04-09 01:43:48 +02:00
fix build-dependencies
This commit is contained in:
@@ -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
|
||||
RUN dpkg --add-architecture i386 \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
# Build basics
|
||||
build-essential python3 git file xz-utils zip p7zip-full fakeroot \
|
||||
# electron-builder extras
|
||||
icnsutils graphicsmagick rpm \
|
||||
# Windows / signing toolchain
|
||||
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 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN node -v && npm -v && npx --yes electron-builder --version || true \
|
||||
&& wine --version && mono --version && makensis -VERSION
|
||||
RUN node -v \
|
||||
&& npm -v \
|
||||
&& npx --yes electron-builder --version || true \
|
||||
&& (command -v wine >/dev/null && wine --version || wine64 --version) \
|
||||
&& mono --version \
|
||||
&& makensis -VERSION
|
||||
|
||||
WORKDIR /workspace
|
||||
CMD [ "bash" ]
|
||||
|
||||
@@ -32,8 +32,8 @@ RUN dpkg --add-architecture i386 \
|
||||
icnsutils graphicsmagick rpm \
|
||||
# Windows / signing toolchain
|
||||
g++-mingw-w64 nsis osslsigncode \
|
||||
# Wine & Mono
|
||||
wine32 wine64 mono-complete \
|
||||
# Wine & Mono (wichtig: 'wine' Metapackage dazu!)
|
||||
wine wine32 wine64 mono-complete winbind cabextract \
|
||||
# headless
|
||||
xvfb fontconfig \
|
||||
&& 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)
|
||||
|
||||
# Sanity check: Versionen
|
||||
RUN node -v && npm -v && npx --yes electron-builder --version || true \
|
||||
&& wine --version && mono --version && makensis -VERSION
|
||||
RUN node -v \
|
||||
&& npm -v \
|
||||
&& npx --yes electron-builder --version || true \
|
||||
&& (command -v wine >/dev/null && wine --version || wine64 --version) \
|
||||
&& mono --version \
|
||||
&& makensis -VERSION
|
||||
|
||||
# Default Arbeitsverzeichnis
|
||||
WORKDIR /workspace
|
||||
|
||||
Reference in New Issue
Block a user