summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 17:45:40 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 17:45:40 +0100
commite913b525a9c5423be9fe75a119453d9b80a25baf (patch)
treef4e8025a84c4f722ee44b24ad7cc4fd0a8abc60d
parent74b9610a0d07932eafdf3362f52aa6c5b90e0a7c (diff)
downloaddocker-e913b525a9c5423be9fe75a119453d9b80a25baf.tar.gz
Add the actual entrypoint for riak
-rw-r--r--03-riak/entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/03-riak/entrypoint.sh b/03-riak/entrypoint.sh
new file mode 100644
index 0000000..ea9a9bd
--- /dev/null
+++ b/03-riak/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [ $# -lt 1 ]; then
+ exec /bin/bash
+else
+ exec "$@"
+fi
+