-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
31 lines (26 loc) · 871 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:noble
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive \
WINEDEBUG=fixme-all \
WINEPREFIX=/root/statsgen \
WINEARCH=win32
# Install dependencies and clean up
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get -y upgrade && \
apt-get -y install --no-install-recommends \
ca-certificates \
xvfb \
wine32 \
cabextract \
winetricks && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Copy installation script and run it
COPY install-vcrun6.sh /root/statsgen/install-vcrun6.sh
RUN mkdir -p /root/statsgen/drive_c/statsgen && \
bash /root/statsgen/install-vcrun6.sh && \
rm /root/statsgen/install-vcrun6.sh
# Run Wine configuration
RUN winecfg
# Set entrypoint
ENTRYPOINT xvfb-run -a wine "/root/statsgen/drive_c/statsgen/statsgen2.exe"