bootstrap/dists: add rendered files for dists
[gd/samba-autobuild/.git] / bootstrap / dists / debian7 / 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     libacl1-dev \
28     libaio-dev \
29     libarchive-dev \
30     libattr1-dev \
31     libblkid-dev \
32     libbsd-dev \
33     libcap-dev \
34     libcups2-dev \
35     libdbus-1-dev \
36     libgnutls-dev \
37     libgpgme11-dev \
38     libjansson-dev \
39     libjson-perl \
40     libkrb5-dev \
41     libldap2-dev \
42     libncurses5-dev \
43     libpam0g-dev \
44     libparse-yapp-perl \
45     libpopt-dev \
46     libreadline-dev \
47     libxml2-dev \
48     locales \
49     locate \
50     lsb-core \
51     make \
52     nettle-dev \
53     perl \
54     perl-modules \
55     pkg-config \
56     procps \
57     psmisc \
58     python-crypto \
59     python-dev \
60     python-dnspython \
61     python-gpgme \
62     python-markdown \
63     python3-crypto \
64     python3-dev \
65     python3-dnspython \
66     python3-markdown \
67     sudo \
68     vim \
69     wget \
70     xsltproc \
71     zlib1g-dev
72
73 apt-get -y autoremove
74 apt-get -y autoclean
75 apt-get -y clean
76
77 # uncomment locale
78 # this file doesn't exist on ubuntu1404 even locales installed
79 if [ -f /etc/locale.gen ]; then
80     sed -i '/^#\s*en_US.UTF-8 UTF-8/s/^#\s*//' /etc/locale.gen
81 fi
82
83 locale-gen
84
85 # update /etc/default/locale
86 update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
87
88 # set both for safe
89 echo LC_ALL="en_US.UTF-8" >> /etc/environment
90 echo LANG="en_US.UTF-8" >> /etc/environment