diff options
| author | Swapnil Kulkarni <me@coolsvap.net> | 2015-07-28 05:47:28 +0000 |
|---|---|---|
| committer | Swapnil Kulkarni <me@coolsvap.net> | 2015-07-28 11:33:05 +0000 |
| commit | efbc6be092ddea71a406da6deeb2b2c212d38c48 (patch) | |
| tree | c5a915615bfb0cbaf1c01fa892fe4e098a943881 /docker/ubuntu/source/base/Dockerfile | |
| parent | 615bbc1861bccdcf2025dbaa85b82992580d1641 (diff) | |
| download | kolla-efbc6be092ddea71a406da6deeb2b2c212d38c48.tar.gz kolla-efbc6be092ddea71a406da6deeb2b2c212d38c48.zip | |
Add Ubuntu base image for build from source
Change-Id: Iaf55ac615c992c95f71668c995b2330af6e17f69
Partially-implements: blueprint install-from-source
Diffstat (limited to 'docker/ubuntu/source/base/Dockerfile')
| -rw-r--r-- | docker/ubuntu/source/base/Dockerfile | 40 |
1 files changed, 40 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/ |
