provision_xenial64.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 16 Dec 2017 17:27:34 +0100
changeset 32 bec145483ea8
parent 31 d265395c11ad
permissions -rwxr-xr-x
docmumentation update
#!/usr/bin/env bash

# This script is to be executed as root to provision necessary stuff
# to run distribution build on a blank Ubuntu Xenial 64 image

set -xe
dpkg --add-architecture i386
apt-get update

apt-get install -y --no-install-recommends \
     autoconf        \
     automake        \
     bison           \
     build-essential \
     ca-certificates \
     flex            \
     gettext         \
     git             \
     lzma            \
     make            \
     mercurial       \
     mingw-w64       \
     nsis            \
     swig            \
     texinfo         \
     unrar           \
     unzip           \
     wget            \
     xvfb

     echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
     echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections

apt-get install -y --install-recommends \
     wine

apt-get clean -y