#!/bin/bash

#
# This file is generated by 'bootstrap/template.py --render'
# See also bootstrap/config.py
#

set -xueo pipefail

yum update -y
yum install -y epel-release
yum update -y

yum install -y \
    "@Development Tools" \
    acl \
    attr \
    autoconf \
    avahi-devel \
    bind-utils \
    binutils \
    bison \
    cups-devel \
    curl \
    dbus-devel \
    docbook-dtds \
    docbook-style-xsl \
    flex \
    gawk \
    gcc \
    gdb \
    git \
    glib2-devel \
    glibc-common \
    gnutls-devel \
    gpgme-devel \
    gzip \
    hostname \
    htop \
    jansson-devel \
    keyutils-libs-devel \
    krb5-devel \
    krb5-server \
    lcov \
    libacl-devel \
    libaio-devel \
    libarchive-devel \
    libattr-devel \
    libblkid-devel \
    libbsd-devel \
    libcap-devel \
    libicu-devel \
    libnsl2-devel \
    libpcap-devel \
    libsemanage-python \
    libtasn1-devel \
    libtasn1-tools \
    libtirpc-devel \
    libunwind-devel \
    libuuid-devel \
    libxslt \
    lmdb \
    lmdb-devel \
    make \
    mingw64-gcc \
    ncurses-devel \
    nettle-devel \
    openldap-devel \
    pam-devel \
    patch \
    perl-Archive-Tar \
    perl-ExtUtils-MakeMaker \
    perl-JSON-Parse \
    perl-Parse-Yapp \
    perl-Test-Base \
    perl-core \
    perl-generators \
    perl-interpreter \
    pkgconfig \
    policycoreutils-python \
    popt-devel \
    procps \
    psmisc \
    pygpgme \
    python-crypto \
    python-devel \
    python-dns \
    python-markdown \
    python3-crypto \
    python3-dns \
    python3-markdown \
    python36 \
    python36-devel \
    quota-devel \
    readline-devel \
    redhat-lsb \
    rng-tools \
    rpcgen \
    rsync \
    sed \
    sudo \
    systemd-devel \
    tar \
    tree \
    which \
    xfsprogs-devel \
    yum-utils \
    zlib-devel

yum clean all

if [ ! -f /usr/bin/python3 ]; then
    ln -sf /usr/bin/python3.6 /usr/bin/python3
fi