File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:22.04 AS builder
2-
3- RUN apt-get update && \
4- apt-get install -y --no-install-recommends \
5- build-essential autoconf automake libtool \
6- libpcre3-dev libevent-dev pkg-config zlib1g-dev libssl-dev wget unzip && \
7- rm -rf /var/lib/apt/lists/*
8-
9- WORKDIR /tmp
10- ENV MEMTIER_VERSION=2.2.0
11-
12- RUN wget -q https://github.com/RedisLabs/memtier_benchmark/archive/refs/tags/${MEMTIER_VERSION}.tar.gz -O memtier.tar.gz && \
13- tar -xzf memtier.tar.gz && \
14- cd memtier_benchmark-${MEMTIER_VERSION} && \
15- autoreconf -ivf && \
16- ./configure --prefix=/usr/local && \
17- make && \
18- make install
19-
20- FROM ubuntu:22.04
1+ FROM redislabs/memtier_benchmark:2.2.0
212
223RUN apt-get update && \
234 apt-get install -y --no-install-recommends redis-tools && \
@@ -32,8 +13,6 @@ WORKDIR /app
3213COPY tests/clt-bench.sh /app/tests/clt-bench.sh
3314RUN chmod +x /app/tests/clt-bench.sh && chown -R bench:bench /app
3415
35- COPY --from=builder /usr/local/bin/memtier_benchmark /usr/local/bin/memtier_benchmark
36-
3716USER bench
3817
3918ENTRYPOINT ["/app/tests/clt-bench.sh"]
You can’t perform that action at this time.
0 commit comments