#!/bin/sh
# Installs the build tools build.sh needs inside the pinned Debian container (CONTAINER_IMAGE in
# versions.env), at the exact Debian versions versions.env pins. The compiler itself is the pinned
# llvm-mingw release, which build.sh downloads.
set -eu
. "$(cd "$(dirname "$0")" && pwd)/versions.env"
export DEBIAN_FRONTEND=noninteractive
apt-get update -qq
apt-get install -y -qq --no-install-recommends ca-certificates curl xz-utils \
    "make=$APT_MAKE" "nasm=$APT_NASM" "python3=$APT_PYTHON3" >/dev/null
make --version | head -1
nasm -v
python3 --version
