From 44814b445a5306881a479fc135d4d5935012f65b Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 12 Oct 2024 07:23:46 +0300 Subject: [PATCH] Fixing the build --- Dockerfile.jenkins | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.jenkins b/Dockerfile.jenkins index a85d741..a25cd78 100644 --- a/Dockerfile.jenkins +++ b/Dockerfile.jenkins @@ -2,8 +2,10 @@ FROM schemers/gauche RUN echo "deb http://ftp.de.debian.org/debian bookworm main" > /etc/apt/sources.list RUN dpkg --add-architecture i386 RUN apt update && apt install -y wine32 wine64 make wget -RUN mkdir -p /workdir && chmod -R 777 /workdir +RUN useradd jenkins +RUN mkdir -p /workdir && chmod -R 777 /workdir && chown jenkins:jenkins /workdir WORKDIR /workdir COPY ./executables/nsis-3.10-setup.exe /workdir/setup.exe +USER jenkins RUN WINEPREFIX=/workdir/.wine wine setup.exe /S ENV WINEPREFIX=/workdir/.wine