Open grrvs opened 2 years ago
Thanks for the instructions. For me it failed installing dotnet
76.74 warning: dotnet40 install completed, but installed file /root/.wine/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe not found
76.74 ------------------------------------------------------
------
Dockerfile:3
--------------------
1 | FROM scottyhardy/docker-wine:latest
2 | ARG CHANSORT_RELEASE="2023-06-01"
3 | >>> RUN xvfb-run winetricks -q dotnet48
4 | RUN mkdir /app
5 | RUN wget https://github.com/PredatH0r/ChanSort/releases/download/v${CHANSORT_RELEASE}/ChanSort_${CHANSORT_RELEASE}.zip -O /tmp/ChanSort_${CHANSORT_RELEASE}.zip
--------------------
ERROR: failed to solve: process "/bin/sh -c xvfb-run winetricks -q dotnet48" did not complete successfully: exit code: 1
I was able to resolve the issue by going back to an older wine release
FROM scottyhardy/docker-wine:stable-7.0
ARG CHANSORT_RELEASE="2023-06-01"
RUN xvfb-run winetricks -q dotnet48
RUN mkdir /app
RUN wget https://github.com/PredatH0r/ChanSort/releases/download/v${CHANSORT_RELEASE}/ChanSort_${CHANSORT_RELEASE}.zip -O /tmp/ChanSort_${CHANSORT_RELEASE}.zip
RUN unzip /tmp/ChanSort_${CHANSORT_RELEASE}.zip -d /app/
RUN rm -rf /tmp/ChanSort_*
ENV RUN_AS_ROOT=yes
WORKDIR /app/ChanSort_${CHANSORT_RELEASE}/
ENTRYPOINT ["/usr/bin/entrypoint", "wine", "ChanSort.exe"]
also I needed to add --ipc host
command line flag to docker run
command
Hi there, I just tried to run chansort in docker.
This is the Dockerfile:
And this is how I build and run (on ubuntu focal):
Instructions were taken straight from scottyhardy/docker-wine.
Chansort is starting and I am able to edit and save a channel list but I did not test that list on a TV (yet).