docker/02-apt-get-install.sh
#!/usr/bin/env bash

set -exuo pipefail

export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive

# List of ubuntu packages needed to build stackage's haskell packages.
#
# If new packages are added here, please document why they are needed
# e.g. "# for my-package"

apt-get update

apt-get install -y \
    apt-transport-https \
    build-essential \
    cmake \
    coinor-libclp-dev \
    curl \
    cvc5 \
    dvipng \
    erlang \
    freeglut3-dev \
    freetds-dev \
    fsharp \
    g++ \
    gawk \
    gir1.2-javascriptcoregtk-4.1 \
    gir1.2-javascriptcoregtk-6.0 \
    gir1.2-soup-2.4 \
    gir1.2-soup-3.0 \
    git \
    gnupg \
    gradle \
    hscolour \
    libadns1-dev \
    libaio-dev \
    libalut-dev \
    libasound2-dev \
    libblas-dev \
    libbrotli-dev \
    libbz2-dev \
    libcairo2-dev \
    libclang-14-dev \
    libcurl4-openssl-dev \
    libcwiid-dev \
    libdbusmenu-glib-dev \
    libdbusmenu-gtk3-dev \
    libdevil-dev \
    libedit-dev \
    libedit2 \
    libfftw3-dev \
    libflac-dev \
    libfreenect-dev \
    libgd-dev \
    libgeoip-dev \
    libgirepository1.0-dev \
    libglew-dev \
    libglfw3-dev \
    libglib2.0-dev \
    libglpk-dev \
    libglu1-mesa-dev \
    libgmp3-dev \
    libgnutls28-dev \
    libgraphene-1.0-dev \
    libgsasl7-dev \
    libgsl-dev \
    libgtk-3-dev \
    libgtk-4-dev \
    libgtk2.0-dev \
    libgtksourceview-3.0-dev \
    libgtksourceview-5-dev \
    libhidapi-dev \
    libi2c-dev \
    libicu-dev \
    libimlib2-dev \
    libjack-jackd2-dev \
    libjansson-dev \
    libjavascriptcoregtk-4.1-dev \
    libjavascriptcoregtk-6.0-dev \
    libjudy-dev \
    liblapack-dev \
    libleveldb-dev \
    liblmdb-dev \
    liblz4-tool \
    liblzma-dev \
    libmagic-dev \
    libmagickcore-dev \
    libmagickwand-dev \
    libmarkdown2-dev \
    libmono-2.0-dev \
    libmp3lame-dev \
    libmpfr-dev \
    libmpich-dev \
    libmysqlclient-dev \
    libncurses-dev \
    libnfc-dev \
    libnlopt-cxx-dev \
    libnotify-dev \
    liboath-dev \
    libopenal-dev \
    libopenmpi-dev \
    libpango1.0-dev \
    libpapi-dev \
    libpcap0.8-dev \
    libpcre2-dev \
    libpcre3-dev \
    libpq-dev \
    libprimecount-dev \
    libprotobuf-dev \
    libre2-dev \
    librocksdb-dev \
    libsdl1.2-dev \
    libsdl2-dev \
    libsdl2-gfx-dev \
    libsdl2-image-dev \
    libsdl2-mixer-dev \
    libsdl2-ttf-dev \
    libsecp256k1-dev \
    libsnappy-dev \
    libsndfile1-dev \
    libsodium-dev \
    libsoup2.4-dev \
    libsoup-3.0-dev \
    libsox-dev \
    libsqlite3-dev \
    libssl-dev \
    libsystemd-dev \
    libtagc0-dev \
    libtre-dev \
    libudev-dev \
    libusb-1.0-0-dev \
    libvte-2.91-dev \
    libwebkit2gtk-4.1-dev \
    libxau-dev \
    libxml2-dev \
    libxrandr-dev \
    libxss-dev \
    libyaml-dev \
    libz3-dev \
    libzip-dev \
    libzmq3-dev \
    libzstd-dev \
    llvm-14 \
    llvm-15 \
    locales \
    m4 \
    minisat \
    mono-mcs \
    nettle-dev \
    ncurses-term \
    ninja-build \
    nodejs \
    nvidia-cuda-toolkit \
    openjdk-8-jdk \
    python3-matplotlib \
    python3-numpy \
    python3-pip \
    python3-scipy \
    r-base \
    r-base-dev \
    rclone \
    rpm \
    ruby-dev \
    software-properties-common \
    sudo \
    texlive \
    time \
    unixodbc-dev \
    unzip \
    wget \
    xclip \
    zip \
    zlib1g-dev \
    zsh
