Files
scylladb/dist/docker/ubuntu/Dockerfile
Benoît Canet fd811c90fc docker: Complete the missing part of production mode
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>
2016-06-20 11:54:54 +03:00

19 lines
553 B
Docker

FROM ubuntu:14.04
RUN sudo apt-get update
RUN sudo apt-get install -y wget
RUN sudo wget -O /etc/apt/sources.list.d/scylla.list http://downloads.scylladb.com/deb/ubuntu/scylla.list
RUN sudo apt-get update
RUN sudo apt-get install -y scylla-server scylla-jmx scylla-tools --force-yes
USER root
COPY start-scylla /start-scylla
RUN chown -R scylla:scylla /etc/scylla
RUN chown -R scylla:scylla /etc/scylla.d
RUN chown -R scylla:scylla /start-scylla
USER scylla
EXPOSE 10000 9042 9160 7000 7001
VOLUME /var/lib/scylla
CMD /start-scylla && /bin/bash