Skip to content

Commit

Permalink
chor(benchmark): install AWScli and kubectl (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharya19 authored Apr 25, 2024
1 parent 046f655 commit 3d252e1
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions benchmark-dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
FROM bitnami/kubectl:1.29.4 as kubectl

# Use the base image
FROM ghcr.io/romange/ubuntu-dev:20 as base

COPY ./install_docker.sh /tmp/

RUN /tmp/install_docker.sh

# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - && \
apt-get install -y nodejs

# Install dependencies (if needed)
RUN apt-get install -y build-essential autoconf automake libpcre3-dev libevent-dev pkg-config zlib1g-dev git &&\
rm -rf /var/lib/apt/lists/*

# Clone memtier_benchmark repository
RUN git clone https://github.com/RedisLabs/memtier_benchmark.git
# Install Kubectl
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

# Build memtier_benchmark
RUN cd memtier_benchmark && autoreconf -ivf && ./configure && make && make install
# Install AWS CLI
RUN pip install awscli

0 comments on commit 3d252e1

Please sign in to comment.