Make the build work in Jenkins #1

Merged
Retropikzel merged 28 commits from development into main 2024-10-12 00:42:35 -04:00
3 changed files with 5 additions and 8 deletions
Showing only changes of commit d33154d5cc - Show all commits

View File

@ -2,9 +2,7 @@ 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
COPY ./executables/nsis-3.10-setup.exe /setup.exe WORKDIR /workdir
RUN mkdir -p /root/.wine COPY ./executables/nsis-3.10-setup.exe /workdir/setup.exe
RUN wine winecfg RUN WINEPREFIX=/workdir/.wine wine setup.exe /S
RUN wine setup.exe /S ENV WINEPREFIX=/workdir/.wine
RUN chmod 755 -R /root/.wine
ENV HOME=/root

1
Jenkinsfile vendored
View File

@ -4,7 +4,6 @@ pipeline {
dockerfile { dockerfile {
filename 'Dockerfile.jenkins' filename 'Dockerfile.jenkins'
dir '.' dir '.'
args '--privileged -v /var/run/docker.sock:/var/run/docker.sock'
} }
} }

View File

@ -1,5 +1,5 @@
build: snow build: snow
wine ${HOME}/.wine/drive_c/Program\ Files\ \(x86\)/NSIS/makensis.exe install.nsi wine makensis.exe install.nsi
repo.scm: repo.scm:
wget https://snow-fort.org/s/repo.scm wget https://snow-fort.org/s/repo.scm