File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:16.04 as builder
2+ RUN apt-get update
3+ RUN apt-get install -yy build-essential autoconf automake libpcre3-dev libevent-dev pkg-config zlib1g-dev git libboost-all-dev cmake flex
4+ RUN git clone https://github.com/RedisLabs/memtier_benchmark.git
5+ WORKDIR /memtier_benchmark
6+ RUN autoreconf -ivf && ./configure && make && make install
7+
8+ FROM ubuntu:16.04
9+ LABEL Description="memtier_benchmark"
10+ COPY --from=builder /usr/local/bin/memtier_benchmark /usr/local/bin/memtier_benchmark
11+ RUN apt-get update
12+ RUN apt-get install -yy libevent-dev
13+ ENTRYPOINT ["memtier_benchmark" ]
Original file line number Diff line number Diff line change @@ -84,6 +84,13 @@ $ make
8484$ make install
8585```
8686
87+ ## Using Docker
88+
89+ ```
90+ $ docker build -t memtier_benchmark .
91+ $ docker run --rm memtier_benchmark --help
92+ ```
93+
8794## Using memtier_benchmark
8895
8996See the included manpage or run::
You can’t perform that action at this time.
0 commit comments