forked from delimitrou/DeathStarBench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (13 loc) · 790 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:16.04
MAINTAINER mcrouter <mcrouter@fb.com>
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 && \
mkdir -p $MCROUTER_DIR/repo && \
cd $MCROUTER_DIR/repo && git clone $MCROUTER_REPO && \
cd $MCROUTER_DIR/repo/mcrouter/mcrouter/scripts && \
./install_ubuntu_16.04.sh $MCROUTER_DIR && \
./clean_ubuntu_14.04.sh $MCROUTER_DIR && rm -rf $MCROUTER_DIR/repo && \
ln -s $MCROUTER_DIR/install/bin/mcrouter /usr/local/bin/mcrouter
ENV DEBIAN_FRONTEND newt