aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/Dockerfile
blob: 9405fcb384c6431881dc6fb32353359313a1ed1a (plain)
1
2
3
4
5
6
7
8
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"]