equal
deleted
inserted
replaced
|
1 #!/usr/bin/env bash |
|
2 |
|
3 # This script is to be executed as root to provision necessary stuff |
|
4 # to run distribution build on a blank Ubuntu Focal 64 image |
|
5 |
|
6 set -xe |
|
7 dpkg --add-architecture i386 |
|
8 |
|
9 apt-get update |
|
10 |
|
11 apt-get install -y locales |
|
12 |
|
13 locale-gen en_US.UTF-8 |
|
14 |
|
15 TZ="America/Paris" \ |
|
16 DEBIAN_FRONTEND="noninteractive" \ |
|
17 apt-get install -y --no-install-recommends \ |
|
18 automake \ |
|
19 bc \ |
|
20 bison \ |
|
21 build-essential \ |
|
22 ca-certificates \ |
|
23 cpio \ |
|
24 cmake \ |
|
25 fakeroot \ |
|
26 flex \ |
|
27 gettext \ |
|
28 gawk \ |
|
29 git \ |
|
30 gperf \ |
|
31 g++-multilib \ |
|
32 help2man \ |
|
33 less \ |
|
34 libarchive-dev \ |
|
35 libcurl4-openssl-dev \ |
|
36 libssl-dev \ |
|
37 libtool-bin \ |
|
38 lzma \ |
|
39 mercurial \ |
|
40 meson \ |
|
41 mingw-w64 \ |
|
42 ncurses-dev \ |
|
43 nsis \ |
|
44 rsync \ |
|
45 pkg-config \ |
|
46 python3-pip \ |
|
47 subversion \ |
|
48 swig \ |
|
49 texinfo \ |
|
50 unrar \ |
|
51 unzip \ |
|
52 wget \ |
|
53 xvfb \ |
|
54 zip |
|
55 |
|
56 echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections |
|
57 echo ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note | debconf-set-selections |
|
58 |
|
59 apt-get install -y --install-recommends \ |
|
60 wine-stable winbind |
|
61 |
|
62 apt-get clean -y |