Add Ubuntu base image for build from source
Change-Id: Iaf55ac615c992c95f71668c995b2330af6e17f69 Partially-implements: blueprint install-from-source
This commit is contained in:
parent
615bbc1861
commit
efbc6be092
40
docker/ubuntu/source/base/Dockerfile
Normal file
40
docker/ubuntu/source/base/Dockerfile
Normal file
@ -0,0 +1,40 @@
|
||||
FROM ubuntu:trusty
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends software-properties-common \
|
||||
&& add-apt-repository cloud-archive:kilo \
|
||||
&& apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get dist-upgrade -y \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
crudini \
|
||||
curl \
|
||||
gcc \
|
||||
ldap-utils \
|
||||
libffi-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
mysql-server\
|
||||
openssl \
|
||||
postgresql \
|
||||
python-dev \
|
||||
python-oslo-policy \
|
||||
slapd \
|
||||
sqlite \
|
||||
tar \
|
||||
&& apt-get clean
|
||||
|
||||
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
|
||||
|
||||
RUN mkdir /opt/kolla
|
||||
COPY service_hosts.sh kolla-common.sh /opt/kolla/
|
1
docker/ubuntu/source/base/build
Symbolic link
1
docker/ubuntu/source/base/build
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../tools/build-docker-image
|
1
docker/ubuntu/source/base/kolla-common.sh
Symbolic link
1
docker/ubuntu/source/base/kolla-common.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/base/kolla-common.sh
|
1
docker/ubuntu/source/base/service_hosts.sh
Symbolic link
1
docker/ubuntu/source/base/service_hosts.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../../../common/base/service_hosts.sh
|
Loading…
Reference in New Issue
Block a user