author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Sat, 16 Dec 2017 17:29:59 +0100 | |
changeset 34 | 0a8caba627ac |
parent 31 | d265395c11ad |
permissions | -rwxr-xr-x |
22
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
|
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
# This script is to be executed as root to provision necessary stuff |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
4 |
# to run distribution build on a blank Ubuntu Xenial 64 image |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
5 |
|
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
6 |
set -xe |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
dpkg --add-architecture i386 |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
apt-get update |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
|
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
10 |
apt-get install -y --no-install-recommends \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
11 |
autoconf \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
12 |
automake \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
13 |
bison \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
14 |
build-essential \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
ca-certificates \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
flex \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
gettext \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
git \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
lzma \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
20 |
make \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
21 |
mercurial \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
22 |
mingw-w64 \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
23 |
nsis \ |
31
d265395c11ad
added swig to build M2Crypto
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
22
diff
changeset
|
24 |
swig \ |
22
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
25 |
texinfo \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
26 |
unrar \ |
31
d265395c11ad
added swig to build M2Crypto
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
22
diff
changeset
|
27 |
unzip \ |
22
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
28 |
wget \ |
31
d265395c11ad
added swig to build M2Crypto
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
22
diff
changeset
|
29 |
xvfb |
22
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
30 |
|
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
31 |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
32 |
echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
33 |
|
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
34 |
apt-get install -y --install-recommends \ |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
35 |
wine |
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
36 |
|
07ad3ba42d39
Experimental docker based installer build, + update of mingw binaries - builds, untested
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
37 |
apt-get clean -y |