Wine tests can now be run in container too

This commit is contained in:
2024-07-06 18:30:58 +03:00
parent df095b3d81
commit f3ac1cb2ae
4 changed files with 28 additions and 18 deletions
-6
View File
@@ -1,6 +0,0 @@
FROM debian:trixie
RUN dpkg --add-architecture i386 && dpkg --add-architecture amd64 && dpkg --add-architecture aarch64
RUN apt-get update && apt-get install -y wine:i386 binfmt-support qemu-user tree wget && update-binfmts --display
RUN wget https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/setup_sagittarius_0.9.11.exe
RUN wine setup_sagittarius_0.9.11.exe /quiet
RUN tree ${HOME}/.wine
+11
View File
@@ -0,0 +1,11 @@
FROM alpine:latest
ENV WINEDEBUG=-all
RUN apk add wine innoextract 7zip
ADD https://bitbucket.org/ktakashi/sagittarius-scheme/downloads/setup_sagittarius_0.9.11_x64.exe /
ADD https://download.racket-lang.org/installers/8.13/racket-8.13-x86_64-win32-cs.exe /
RUN wine hostname
RUN innoextract setup_sagittarius_0.9.11_x64.exe
RUN 7z racket-8.13-x86_64-win32-cs.exe -y
WORKDIR /workdir
RUN apk add bash make
ENTRYPOINT ["bash", "/workdir/test-sagittarius-container-wine.sh"]