Fixing the build

This commit is contained in:
retropikzel 2024-10-12 07:23:46 +03:00
parent c8f9015d6b
commit 44814b445a
1 changed files with 3 additions and 1 deletions

View File

@ -2,8 +2,10 @@ FROM schemers/gauche
RUN echo "deb http://ftp.de.debian.org/debian bookworm main" > /etc/apt/sources.list RUN echo "deb http://ftp.de.debian.org/debian bookworm main" > /etc/apt/sources.list
RUN dpkg --add-architecture i386 RUN dpkg --add-architecture i386
RUN apt update && apt install -y wine32 wine64 make wget 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 WORKDIR /workdir
COPY ./executables/nsis-3.10-setup.exe /workdir/setup.exe COPY ./executables/nsis-3.10-setup.exe /workdir/setup.exe
USER jenkins
RUN WINEPREFIX=/workdir/.wine wine setup.exe /S RUN WINEPREFIX=/workdir/.wine wine setup.exe /S
ENV WINEPREFIX=/workdir/.wine ENV WINEPREFIX=/workdir/.wine