summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-sanity/Dockerfile
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-sanity/Dockerfile
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-sanity/Dockerfile')
-rw-r--r--sdc-os-chef/sdc-sanity/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdc-os-chef/sdc-sanity/Dockerfile b/sdc-os-chef/sdc-sanity/Dockerfile
index 78a8c695f5..be629760bf 100644
--- a/sdc-os-chef/sdc-sanity/Dockerfile
+++ b/sdc-os-chef/sdc-sanity/Dockerfile
@@ -12,7 +12,9 @@ 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/