-
-
Save AliKhadivi/014d2f188f2b7ed5f9c5c3941a7ea0b1 to your computer and use it in GitHub Desktop.
Workaround for System.Exception at Squirrel.Utility.CreateZipFromDirectory on macOS Big Sur when building windows installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:focal | |
WORKDIR ~ | |
# Without interactive dialogue | |
ARG DEBIAN_FRONTEND=noninteractive | |
# Install required packages | |
RUN apt-get update \ | |
&& apt-get install -y wget gnupg2 software-properties-common git apt-utils vim dirmngr apt-transport-https ca-certificates \ | |
&& wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash \ | |
&& NODE_VERSION=11 \ | |
&& . $HOME/.nvm/nvm.sh && nvm install $NODE_VERSION && nvm alias default $NODE_VERSION && nvm use default \ | |
&& dpkg --add-architecture i386 \ | |
&& wget -qO- https://dl.winehq.org/wine-builds/Release.key | apt-key add - \ | |
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv F987672F \ | |
&& apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' \ | |
&& apt-get update \ | |
&& apt-get install -y --install-recommends winehq-stable \ | |
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \ | |
&& sh -c 'echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" > /etc/apt/sources.list.d/mono-official-stable.list' \ | |
&& apt-get update \ | |
&& apt-get install -y mono-complete | |
WORKDIR /root/project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment