aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-28 23:48:34 +0000
committerGerrit Code Review <review@openstack.org>2015-07-28 23:48:34 +0000
commit9f3b2ddf173bcab10cf6516702fce690c11431cf (patch)
treefd54c172ce20635cf152a79fdc7b090daf3e1978
parent062388fca9244f997e52abaeb04d739de7e13ae6 (diff)
parentefbc6be092ddea71a406da6deeb2b2c212d38c48 (diff)
downloadkolla-9f3b2ddf173bcab10cf6516702fce690c11431cf.tar.gz
kolla-9f3b2ddf173bcab10cf6516702fce690c11431cf.zip
Merge "Add Ubuntu base image for build from source"
-rw-r--r--docker/ubuntu/source/base/Dockerfile40
l---------docker/ubuntu/source/base/build1
l---------docker/ubuntu/source/base/kolla-common.sh1
l---------docker/ubuntu/source/base/service_hosts.sh1
4 files changed, 43 insertions, 0 deletions
diff --git a/docker/ubuntu/source/base/Dockerfile b/docker/ubuntu/source/base/Dockerfile
new file mode 100644
index 000000000..423d87473
--- /dev/null
+++ b/docker/ubuntu/source/base/Dockerfile
@@ -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/
diff --git a/docker/ubuntu/source/base/build b/docker/ubuntu/source/base/build
new file mode 120000
index 000000000..8d652f7ee
--- /dev/null
+++ b/docker/ubuntu/source/base/build
@@ -0,0 +1 @@
+../../../../tools/build-docker-image \ No newline at end of file
diff --git a/docker/ubuntu/source/base/kolla-common.sh b/docker/ubuntu/source/base/kolla-common.sh
new file mode 120000
index 000000000..c265c62f7
--- /dev/null
+++ b/docker/ubuntu/source/base/kolla-common.sh
@@ -0,0 +1 @@
+../../../common/base/kolla-common.sh \ No newline at end of file
diff --git a/docker/ubuntu/source/base/service_hosts.sh b/docker/ubuntu/source/base/service_hosts.sh
new file mode 120000
index 000000000..06e045440
--- /dev/null
+++ b/docker/ubuntu/source/base/service_hosts.sh
@@ -0,0 +1 @@
+../../../common/base/service_hosts.sh \ No newline at end of file