diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2018-08-01 05:16:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-08-01 05:16:00 +0000 |
commit | 0e1b4692617be69ea4372c89f653f44170942998 (patch) | |
tree | e1122b29c66a1f187cd30d4e17f9f301fcec2891 /samples/scenarios/clearwater_ims/clt-docker/Dockerfile | |
parent | d93a37039cdcbcd018787016950bd39e020bd9ba (diff) | |
parent | a9a792e18c5c985874440781ca2cb5c23105d54a (diff) |
Merge "Adding clearwater IMS yaml and clearwater live test dockerfile to test istio service-mesh"
Diffstat (limited to 'samples/scenarios/clearwater_ims/clt-docker/Dockerfile')
-rw-r--r-- | samples/scenarios/clearwater_ims/clt-docker/Dockerfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/samples/scenarios/clearwater_ims/clt-docker/Dockerfile b/samples/scenarios/clearwater_ims/clt-docker/Dockerfile new file mode 100644 index 0000000..1047521 --- /dev/null +++ b/samples/scenarios/clearwater_ims/clt-docker/Dockerfile @@ -0,0 +1,22 @@ +From ubuntu:16.04 +MAINTAINER Salman Shaikh (muhammad.shaikh@huawei.com) +RUN apt-get update && apt-get -y upgrade +RUN apt-get install -y build-essential bundler git +RUN apt-get install -y curl +#RUN apt-get remove -y ruby +RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 +RUN curl -L https://get.rvm.io | bash -s stable +#RUN /bin/bash -c "source /usr/local/rvm/scripts/rvm" +RUN /bin/bash -c "source /etc/profile.d/rvm.sh \ + && rvm autolibs enable \ + && rvm install 1.9.3 \ + && rvm use 1.9.3" +#RUN mkdir -p /root/.ssh +#ADD id_rsa /root/.ssh/id_rsa +#RUN chmod 700 /root/.ssh/id_rsa +ADD clearwater-live-test.tgz /opt/ +RUN /bin/bash -c "source /etc/profile.d/rvm.sh \ + && cd /opt/clearwater-live-test \ + && bundle install" +SHELL ["/bin/bash", "-c", "source /etc/profile.d/rvm.sh"] +#CMD /bin/bash -c "source /etc/profile.d/rvm.sh" |