summaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/Dockerfile
diff options
context:
space:
mode:
authorThomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>2018-03-06 14:27:17 -0500
committerThomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>2018-03-06 14:27:17 -0500
commit64cf8e703644f01ef1efde65c86a60ec3e377a5a (patch)
treec83acc5d45a556dddeed392b7729a184208b1d55 /distribution/cassandra/Dockerfile
parent0fec5f6d51014d07449c3b9a3c62d77f6c5d0a57 (diff)
Unit Tests for Sonar and Functional Test Docker
Change-Id: Ib8156f44cf08f220de2a74ef8237b30deaf4df7a Issue-ID: MUSIC-40, MUSIC-32 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
Diffstat (limited to 'distribution/cassandra/Dockerfile')
-rw-r--r--distribution/cassandra/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/distribution/cassandra/Dockerfile b/distribution/cassandra/Dockerfile
new file mode 100644
index 00000000..0e851f47
--- /dev/null
+++ b/distribution/cassandra/Dockerfile
@@ -0,0 +1,8 @@
+#registry.hub.docker.com/
+FROM library/cassandra:3.0
+RUN mkdir -p /docker-entrypoint-initdb.d && mkdir -p /home/cassandra/.cassandra && chown -R cassandra /home/cassandra
+COPY cassandra.yaml /etc/cassandra/
+COPY music_single.cql /docker-entrypoint-initdb.d/
+COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
+RUN chmod 755 /usr/local/bin/docker-entrypoint.sh
+ENTRYPOINT ["docker-entrypoint.sh"]