# 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
ADD onboarding-be-__SDC-RELEASE__.war ${JETTY_BASE}/webapps/
ADD catalog-be-__SDC-RELEASE__.war ${JETTY_BASE}/webapps/
# 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
# 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/
# 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
RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
# 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/
# 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/