1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00
fcast/receivers/electron/Dockerfile
2024-12-09 00:56:55 -06:00

19 lines
1,020 B
Docker

FROM node:22.10.0-bookworm
RUN dpkg --add-architecture i386
RUN apt update && apt install -y zip dpkg fakeroot rpm wget p7zip-full unzip jq awscli
RUN wget https://github.com/ebourg/jsign/releases/download/6.0/jsign_6.0_all.deb
RUN apt install -y ./jsign_6.0_all.deb
RUN mkdir -pm755 /etc/apt/keyrings
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
RUN echo "deb http://deb.debian.org/debian bookworm main contrib non-free" > /etc/apt/sources.list
RUN echo "deb http://deb.debian.org/debian bookworm-updates main contrib non-free" >> /etc/apt/sources.list
RUN apt update && apt install -y --install-recommends winehq-stable mono-devel winetricks
RUN winetricks -q -f dotnet45
RUN wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip
RUN unzip wix314-binaries.zip -d wix314-binaries
ENV WINEPATH="/wix314-binaries/"