-
-
Save klizhentas/7161687 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 mailgun/erlbase:latest | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV RIAK_VERSION 1.4.1 | |
ENV RIAK_MAJOR_VERSION 1.4 | |
ENV PATH /usr/local/lib/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
run apt-get -y -q install libc6-dev-i386 | |
run wget http://s3.amazonaws.com/downloads.basho.com/riak/$RIAK_MAJOR_VERSION/$RIAK_VERSION/riak-$RIAK_VERSION.tar.gz -O /tmp/riak-$RIAK_VERSION.tar.gz | |
run cd /tmp && tar zxvf riak-$RIAK_VERSION.tar.gz | |
run cd /tmp/riak-$RIAK_VERSION && make rel | |
run mv /tmp/riak-$RIAK_VERSION/rel /opt/riak | |
run sed -i 's/127.0.0.1/0.0.0.0/g' /opt/riak/riak/etc/app.config | |
add . /src | |
run chmod +x /src/start.sh | |
run chown mg:mg -R /opt/riak /src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment