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