Created
October 22, 2015 23:43
-
-
Save TJC/cb3184705bc0eacde885 to your computer and use it in GitHub Desktop.
Dockerfile for Riak, Riak CS and Stanchion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:trusty | |
MAINTAINER tobyc@strategicdata.com.au | |
ENV DEBIAN_FRONTEND noninteractive | |
VOLUME /var/lib/riak | |
EXPOSE 4369 8080 8087 8098 8099 | |
COPY 99-http-proxy /etc/apt/apt.conf.d/ | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install -y curl | |
RUN curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | bash | |
RUN curl -s https://packagecloud.io/install/repositories/basho/riak-cs/script.deb.sh | bash | |
RUN curl -s https://packagecloud.io/install/repositories/basho/stanchion/script.deb.sh | bash | |
RUN apt-get install -y riak riak-cs stanchion | |
ADD run_riak.sh / | |
ADD run_riak-cs.sh / | |
ADD run_stanchion.sh / | |
CMD /run_riak.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find /var/lib/riak -name "bitcask.*.lock" -delete | |
/usr/sbin/riak console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you post the contents of the
.sh
scripts as well?