#!/bin/bash set -e set -o xtrace export DEBIAN_FRONTEND=noninteractive CROSS_ARCHITECTURES="i386" for arch in $CROSS_ARCHITECTURES; do dpkg --add-architecture $arch done apt-get install -y \ ca-certificates \ unzip \ wget sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list apt-get update # Use newer packages from backports by default cat >/etc/apt/preferences </usr/local/bin/x86_64-w64-mingw32-pkg-config <