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