summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 17:44:33 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 17:44:33 +0100
commit74b9610a0d07932eafdf3362f52aa6c5b90e0a7c (patch)
tree0282a84c14adcbaf7f3877328330f65def88f67e
parent772d814e1ca51975d95b30103776f129278f30b6 (diff)
downloaddocker-74b9610a0d07932eafdf3362f52aa6c5b90e0a7c.tar.gz
Correct the entrypoint, cmd and add the appropriate environment variable for ERTS_PATH
-rw-r--r--03-riak/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/03-riak/Dockerfile b/03-riak/Dockerfile
new file mode 100644
index 0000000..ad61a8a
--- /dev/null
+++ b/03-riak/Dockerfile
@@ -0,0 +1,19 @@
+FROM kolab/base:latest
+
+RUN yum -y install \
+ riak && \
+ yum clean all
+
+ENV ERTS_PATH /usr/bin
+
+ADD /entrypoint.sh /entrypoint.sh
+RUN chmod a+x /entrypoint.sh
+
+EXPOSE 8088
+
+CMD [ \
+ "env", \
+ "ERTS_PATH=/usr/bin", \
+ "/usr/bin/riak", \
+ "start" \
+ ]