diff options
Diffstat (limited to 'distribution/cassandra/Dockerfile')
-rw-r--r-- | distribution/cassandra/Dockerfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/distribution/cassandra/Dockerfile b/distribution/cassandra/Dockerfile new file mode 100644 index 00000000..9405fcb3 --- /dev/null +++ b/distribution/cassandra/Dockerfile @@ -0,0 +1,9 @@ +#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 && chown -R cassandra /docker-entrypoint-initdb.d + +ENTRYPOINT ["docker-entrypoint.sh"] |