-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chor(benchmark): install AWScli and kubectl (#12)
- Loading branch information
1 parent
046f655
commit 3d252e1
Showing
1 changed file
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |