From c2622f3b9cd9bfb4dac88ff3579712febe2272be Mon Sep 17 00:00:00 2001 From: Joel Maxwell Date: Wed, 22 Jul 2026 15:07:27 -0300 Subject: [PATCH] Update Dockerfile with Wine integration --- .gitignore | 4 +++- Dockerfile | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 04e343c..9d15d5f 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,6 @@ Thumbs.db # TrueNAS SCALE app metadata (if present) ix-app.json -ACEVO.License \ No newline at end of file +ACEVO.License + +*.env \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2deb291..84826a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && \ +RUN dpkg --add-architecture i386 && \ + apt-get update && \ apt-get install -y \ ca-certificates \ curl \ @@ -11,7 +12,20 @@ RUN apt-get update && \ xvfb \ winbind \ cabextract \ - xz-utils && \ + xz-utils \ + software-properties-common && \ + rm -rf /var/lib/apt/lists/* + +# WineHQ repository +RUN mkdir -pm755 /etc/apt/keyrings && \ + curl -fsSL https://dl.winehq.org/wine-builds/winehq.key \ + | gpg --dearmor \ + | tee /etc/apt/keyrings/winehq.gpg > /dev/null && \ + echo "deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/winehq.gpg] https://dl.winehq.org/wine-builds/ubuntu/ jammy main" \ + > /etc/apt/sources.list.d/winehq.list + +RUN apt-get update && \ + apt-get install -y --install-recommends winehq-stable && \ rm -rf /var/lib/apt/lists/* # Create steam user