aboutsummaryrefslogtreecommitdiff
path: root/seaweedfs-rdma-sidecar/Dockerfile.performance-test
blob: 7ffa81c4f506092e84fff4ef6c0892b4430b7575 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Dockerfile for RDMA Mount Performance Tests
FROM ubuntu:22.04

# Install dependencies
RUN apt-get update && apt-get install -y \
    curl \
    wget \
    ca-certificates \
    jq \
    bc \
    time \
    util-linux \
    coreutils \
    fio \
    iozone3 \
    && rm -rf /var/lib/apt/lists/*

# Create test directories
RUN mkdir -p /usr/local/bin /performance-results

# Copy test scripts
COPY scripts/run-performance-tests.sh /usr/local/bin/run-performance-tests.sh
RUN chmod +x /usr/local/bin/*.sh

# Default command
CMD ["/usr/local/bin/run-performance-tests.sh"]