From befd305dbf64d60491c885ae55aa640624ef55b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuz=20Yar=C4=B1mtepe?= Date: Wed, 9 Aug 2017 16:56:08 +0300 Subject: [PATCH] Missing apt package Also added required volumes --- mcrouter/scripts/docker/Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mcrouter/scripts/docker/Dockerfile b/mcrouter/scripts/docker/Dockerfile index 036157a3d..95f818232 100644 --- a/mcrouter/scripts/docker/Dockerfile +++ b/mcrouter/scripts/docker/Dockerfile @@ -6,7 +6,7 @@ ENV MCROUTER_DIR /usr/local/mcrouter ENV MCROUTER_REPO https://github.com/facebook/mcrouter.git ENV DEBIAN_FRONTEND noninteractive -RUN apt-get update && apt-get install -y git && \ +RUN apt-get update && apt-get install -y git software-properties-common && \ mkdir -p $MCROUTER_DIR/repo && \ cd $MCROUTER_DIR/repo && git clone $MCROUTER_REPO && \ cd $MCROUTER_DIR/repo/mcrouter/mcrouter/scripts && \ @@ -15,3 +15,12 @@ RUN apt-get update && apt-get install -y git && \ ln -s $MCROUTER_DIR/install/bin/mcrouter /usr/local/bin/mcrouter ENV DEBIAN_FRONTEND newt + +RUN mkdir /var/spool/mcrouter +VOLUME /var/spool/mcrouter + +RUN mkdir /usr/local/etc/mcrouter +VOLUME /usr/local/etc/mcrouter + +EXPOSE 5000 +#CMD ["/usr/local/bin/mcrouter"]