mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
Make the Docker image more user-friendly by starting up JMX proxy in the background and install Scylla tools in the image. Also add a welcome banner like we have with our AMI so that users have pointers to nodetool and cqlsh, as well as our documentation. Message-Id: <1460376059-3678-1-git-send-email-penberg@scylladb.com>
24 lines
548 B
Docker
24 lines
548 B
Docker
FROM centos:7
|
|
|
|
MAINTAINER Avi Kivity <avi@cloudius-systems.com>
|
|
|
|
RUN yum -y install epel-release
|
|
ADD scylla.repo /etc/yum.repos.d/
|
|
RUN yum -y clean expire-cache
|
|
RUN yum -y update
|
|
RUN yum -y remove boost-thread boost-system
|
|
RUN yum -y install scylla-server scylla-jmx scylla-tools hostname
|
|
RUN yum clean all
|
|
|
|
ADD start-scylla /start-scylla
|
|
RUN chown scylla /start-scylla
|
|
|
|
ADD bashrc /var/lib/scylla/.bashrc
|
|
RUN chown scylla /var/lib/scylla/.bashrc
|
|
|
|
USER scylla
|
|
EXPOSE 10000 9042 9160 7000 7001
|
|
VOLUME /var/lib/scylla
|
|
|
|
CMD /start-scylla && /bin/bash
|