summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-cassandra
diff options
context:
space:
mode:
authorGrinberg Moti <mg877n@att.com>2017-02-22 15:36:03 +0200
committerGrinberg Moti <mg877n@att.com>2017-02-22 15:36:03 +0200
commitf79a5d16b6c089ed6030c745f61b0c651e7bbde2 (patch)
tree138de86646cc34d0934bbf8ca4fb3319d36e7136 /sdc-os-chef/sdc-cassandra
parent86fc38f0b3d0540dc44c3fbf58fcc1bc8397fe0c (diff)
copy chef-install.sh into docker
Change-Id: I2a7517c3760b1b5a7701941804153d7a8d78454a Signed-off-by: Grinberg Moti <mg877n@att.com>
Diffstat (limited to 'sdc-os-chef/sdc-cassandra')
-rw-r--r--sdc-os-chef/sdc-cassandra/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sdc-os-chef/sdc-cassandra/Dockerfile b/sdc-os-chef/sdc-cassandra/Dockerfile
index e2aca801cb..d8bc0b472e 100644
--- a/sdc-os-chef/sdc-cassandra/Dockerfile
+++ b/sdc-os-chef/sdc-cassandra/Dockerfile
@@ -35,7 +35,10 @@ COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
# install chef-solo
#RUN curl -L http://www.opscode.com/chef/install.sh | bash
-RUN bash chef-install.sh
+COPY chef-install.sh /root/
+RUN chmod 770 /root/chef-install.sh
+RUN bash /root/chef-install.sh
+
COPY startup.sh /root/
RUN chmod 770 /root/startup.sh