bootstrap/dists: add rendered files for dists
[samba.git] / bootstrap / dists / ubuntu1604 / bootstrap.sh
1 #!/bin/bash
2 set -xueo pipefail
3
4 export DEBIAN_FRONTEND=noninteractive
5 apt-get -y update
6
7 apt-get -y install \
8     apt-utils \
9     attr \
10     autoconf \
11     bind9 \
12     bind9utils \
13     binutils \
14     bison \
15     build-essential \
16     ccache \
17     curl \
18     debhelper \
19     dnsutils \
20     docbook-xml \
21     docbook-xsl \
22     flex \
23     gcc \
24     gdb \
25     git \
26     krb5-kdc \
27     language-pack-en \
28     libacl1-dev \
29     libaio-dev \
30     libarchive-dev \
31     libattr1-dev \
32     libblkid-dev \
33     libbsd-dev \
34     libcap-dev \
35     libcups2-dev \
36     libdbus-1-dev \
37     libgnutls28-dev \
38     libgpgme11-dev \
39     libjansson-dev \
40     libjson-perl \
41     libkrb5-dev \
42     libldap2-dev \
43     liblmdb-dev \
44     libncurses5-dev \
45     libpam0g-dev \
46     libparse-yapp-perl \
47     libpopt-dev \
48     libreadline-dev \
49     libsystemd-dev \
50     libxml2-dev \
51     lmdb-utils \
52     locales \
53     locate \
54     lsb-core \
55     make \
56     nettle-dev \
57     perl \
58     perl-modules \
59     pkg-config \
60     procps \
61     psmisc \
62     python-crypto \
63     python-dev \
64     python-dnspython \
65     python-gpgme \
66     python-markdown \
67     python3-crypto \
68     python3-dev \
69     python3-dnspython \
70     python3-gpgme \
71     python3-markdown \
72     sudo \
73     vim \
74     wget \
75     xsltproc \
76     zlib1g-dev
77
78 apt-get -y autoremove
79 apt-get -y autoclean
80 apt-get -y clean
81
82 # uncomment locale
83 # this file doesn't exist on ubuntu1404 even locales installed
84 if [ -f /etc/locale.gen ]; then
85     sed -i '/^#\s*en_US.UTF-8 UTF-8/s/^#\s*//' /etc/locale.gen
86 fi
87
88 locale-gen
89
90 # update /etc/default/locale
91 update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
92
93 # set both for safe
94 echo LC_ALL="en_US.UTF-8" >> /etc/environment
95 echo LANG="en_US.UTF-8" >> /etc/environment