aboutsummaryrefslogtreecommitdiff
path: root/docker/centos/source/base/Dockerfile
blob: cc5ed43f79ad7765787d316f39264a7a9cf12f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM centos
MAINTAINER Kolla Project (https://launchpad.net/kolla)

# Dependencies required for building/installing source components
RUN yum install -y \
    epel-release \
    gcc \
    git \
    libffi-devel \
    libxml2-devel \
    libxslt-devel \
    mariadb \
    mariadb-devel \
    mysql-devel \
    MySQL-python \
    openldap-devel \
    openssl \
    openssl-devel \
    postgresql \
    postgresql-devel \
    python-devel \
    python-oslo-policy \
    sqlite-devel \
    tar \
  && yum clean all

RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
    && python get-pip.py \
    && rm get-pip.py

RUN pip install --upgrade \
    cachetools \
    crudini \
    crux \
    pip \
    tox

COPY service_hosts.sh kolla-common.sh /opt/kolla/