mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 11:55:15 +00:00
Scylla will not start if the disk was not benchmarked so start run io_tune with the right parameters. Also add the cpu_set environment variables for passing cpu set to iotune and scylla. Signed-of-by: Benoît Canet <benoit@scylladb.com> Message-Id: <1466412846-4760-2-git-send-email-benoit@scylladb.com>
26 lines
680 B
Docker
26 lines
680 B
Docker
FROM centos:7
|
|
|
|
MAINTAINER Avi Kivity <avi@cloudius-systems.com>
|
|
|
|
RUN curl http://downloads.scylladb.com/rpm/unstable/centos/master/latest/scylla.repo -o /etc/yum.repos.d/scylla.repo
|
|
RUN yum -y install epel-release
|
|
RUN yum -y clean expire-cache
|
|
RUN yum -y update
|
|
RUN yum -y remove boost-thread boost-system
|
|
RUN yum -y install scylla 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
|
|
RUN chown -R scylla:scylla /etc/scylla
|
|
RUN chown -R scylla:scylla /etc/scylla.d
|
|
|
|
USER scylla
|
|
EXPOSE 10000 9042 9160 7000 7001
|
|
VOLUME /var/lib/scylla
|
|
|
|
CMD /start-scylla && /bin/bash
|