summaryrefslogtreecommitdiffstats
path: root/redis-cluster-container/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'redis-cluster-container/Dockerfile')
-rw-r--r--redis-cluster-container/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/redis-cluster-container/Dockerfile b/redis-cluster-container/Dockerfile
index 0892ced..082b272 100644
--- a/redis-cluster-container/Dockerfile
+++ b/redis-cluster-container/Dockerfile
@@ -17,11 +17,14 @@ FROM redis:4.0.8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update \
&& apt-get -y upgrade \
- && apt-get -y --no-install-recommends install ruby wget \
+ && apt-get -y --no-install-recommends install ruby wget jq \
&& gem install redis -v 3.3.5 \
&& apt-get -y autoremove \
&& apt-get -y clean
RUN wget -O /usr/local/bin/redis-trib http://download.redis.io/redis-stable/src/redis-trib.rb
RUN sed -i -e 's/yes_or_die \"/#yes_or_die \"/g' /usr/local/bin/redis-trib
RUN chmod 755 /usr/local/bin/redis-trib
-CMD redis-server
+COPY redis-server-config.sh /usr/local/bin/redis-server-config.sh
+RUN chmod 755 /usr/local/bin/redis-server-config.sh
+#CMD redis-server
+CMD redis-server-config.sh