Fixed issue related to docker image creation
by default cgroup-lite is not installed on ubuntu-trusty node. Change-Id: Ia8543d7887a854ecbfdc76c1a91a53bd02fb77d5
This commit is contained in:
parent
d3ef00a122
commit
c93405f6b1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user