commit 7d9d558d20f442a8d70712111600bbe9a99ad4e8 Author: DevMiner Date: Fri Mar 8 00:40:26 2024 +0100 init diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..594a4e9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,29 @@ +# FROM ubuntu:23.04 +FROM scottyhardy/docker-wine + +ENV DEBIAN_FRONTEND=noninteractive +RUN dpkg --add-architecture i386 \ + && apt-get update \ + && apt-get install -yqq --install-recommends apt-utils software-properties-common xvfb vim curl wget gnupg2 + +#RUN curl -O https://dl.winehq.org/wine-builds/winehq.key \ +# && apt-key add winehq.key \ +# && apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' \ +# && apt-get update && apt-get install -yqq --install-recommends wine-devel winetricks winbind + +RUN useradd -m wine + +ENV HOME="/home/wine" +USER wine + +ENV WINEPREFIX=/home/wine/.wine WINEARCH=win64 + +RUN wine wineboot --init \ + && winetricks --unattended dotnet472 \ + && winetricks win10 + +USER root + +WORKDIR /home/wine + +CMD ["bash"] diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..0f5c1fb --- /dev/null +++ b/compose.yml @@ -0,0 +1,9 @@ +version: "3.8" + +services: + server: + build: . + tty: true + stdin_open: true + volumes: + - "./data:/home/wine/server"