summaryrefslogtreecommitdiffstats
path: root/samples/scenarios/clearwater_ims/clt-docker
diff options
context:
space:
mode:
authorMuhammad Shaikh (Salman) <muhammad.shaikh@huawei.com>2018-05-30 00:41:19 +0000
committerMuhammad Shaikh (Salman) <muhammad.shaikh@huawei.com>2018-05-30 00:55:03 +0000
commita9a792e18c5c985874440781ca2cb5c23105d54a (patch)
tree36c4103a194cb25783b435cc486b82e1fcbee396 /samples/scenarios/clearwater_ims/clt-docker
parenta611041d138a71a87c12d4734e5d1a780852ecc9 (diff)
Adding clearwater IMS yaml and clearwater live test dockerfile to test istio service-mesh
Checking into CLEARWATER_ISTIO branch This part of the project is intended to validate the clearwater IMS with istio service-mesh. Change-Id: Ia5ba86301a363fcf9cfe0bac525606b0d897713e Signed-off-by: Muhammad Shaikh (Salman) <muhammad.shaikh@huawei.com>
Diffstat (limited to 'samples/scenarios/clearwater_ims/clt-docker')
-rw-r--r--samples/scenarios/clearwater_ims/clt-docker/Dockerfile22
-rw-r--r--samples/scenarios/clearwater_ims/clt-docker/clearwater-live-test.tgzbin0 -> 1627952 bytes
2 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"
diff --git a/samples/scenarios/clearwater_ims/clt-docker/clearwater-live-test.tgz b/samples/scenarios/clearwater_ims/clt-docker/clearwater-live-test.tgz
new file mode 100644
index 0000000..9bcb417
--- /dev/null
+++ b/samples/scenarios/clearwater_ims/clt-docker/clearwater-live-test.tgz
Binary files differ