From c93405f6b1d7bcf00824f6bc11191564c73dc3bc Mon Sep 17 00:00:00 2001 From: hardik Date: Mon, 18 Apr 2016 11:20:52 +0530 Subject: [PATCH] Fixed issue related to docker image creation by default cgroup-lite is not installed on ubuntu-trusty node. Change-Id: Ia8543d7887a854ecbfdc76c1a91a53bd02fb77d5 --- Dockerfile | 1 + docker_image_build.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28a8a9e6..9443e64d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN sudo pip install tox==1.6.1 RUN mkdir -p /opt/stack/mistral ADD . /opt/stack/mistral WORKDIR /opt/stack/mistral +RUN pip install -r requirements.txt RUN pip install . RUN mkdir /etc/mistral RUN oslo-config-generator --config-file tools/config/config-generator.mistral.conf --output-file /etc/mistral/mistral.conf diff --git a/docker_image_build.sh b/docker_image_build.sh index 0e2c3eaa..e42228a8 100755 --- a/docker_image_build.sh +++ b/docker_image_build.sh @@ -1,7 +1,7 @@ #!/bin/bash -xe if [ -x "/usr/bin/apt-get" ]; then sudo -E apt-get update -sudo -E apt-get install -y docker.io apparmor aufs-tools +sudo -E apt-get install -y docker.io apparmor cgroup-lite elif [ -x "/usr/bin/yum" ]; then sudo -E yum install -y docker-io gpg else