From 34ed8f90be9d519fa98a07724fa9084facb01956 Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Mon, 22 Apr 2024 21:26:45 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(server):=20Install=20winetrick?= =?UTF-8?q?s=20(#31)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description **What(what issue does this code solve/what feature does it add):** **How(how does it solve it):** ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments --- server.Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server.Dockerfile b/server.Dockerfile index c2f8e251..ab8e308e 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -26,7 +26,10 @@ RUN apt-get update -y \ ARG WINE_BRANCH=staging RUN mkdir -pm755 /etc/apt/keyrings && curl -fsSL -o /etc/apt/keyrings/winehq-archive.key "https://dl.winehq.org/wine-builds/winehq.key" \ && curl -fsSL -o "/etc/apt/sources.list.d/winehq-$(grep UBUNTU_CODENAME= /etc/os-release | cut -d= -f2 | tr -d '\"').sources" "https://dl.winehq.org/wine-builds/ubuntu/dists/$(grep UBUNTU_CODENAME= /etc/os-release | cut -d= -f2 | tr -d '\"')/winehq-$(grep UBUNTU_CODENAME= /etc/os-release | cut -d= -f2 | tr -d '\"').sources" \ - && apt-get update && apt-get install --install-recommends -y winehq-${WINE_BRANCH} + && apt-get update && apt-get install --install-recommends -y winehq-${WINE_BRANCH} \ + && curl -fsSL -o /usr/bin/winetricks "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" \ + && chmod 755 /usr/bin/winetricks \ + && curl -fsSL -o /usr/share/bash-completion/completions/winetricks "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion" #Install Proton COPY .scripts/proton /usr/bin/netris/