summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/workloads/ab/Dockerfile
blob: 0d0b6e2eb6f25864d0c2fa94e472c722791c38f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ubuntu:18.04

RUN set -x \
        && apt-get update \
        && apt-get install -y \
            apache2-utils \
        && rm -rf /var/lib/apt/lists/*

# Parameterized workload.
ENV requests 5000
ENV connections 10
ENV host localhost
ENV port 8080
ENV path notfound
CMD ["sh", "-c", "ab -n ${requests} -c ${connections} http://${host}:${port}/${path}"]