aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/Dockerfile
diff options
context:
space:
mode:
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"]