summaryrefslogtreecommitdiffhomepage
path: root/images/benchmarks/nginx/Dockerfile
blob: c8e3330d02c25db40da572770a7c440e5b3916d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM nginx:1.15.10

# Generate a bunch of relevant files.
RUN mkdir -p /local && \
        for size in 1 10 100 1024 10240; do \
                dd if=/dev/zero of=/local/latin${size}k.txt count=${size} bs=1024; \
        done

RUN touch /local/index.html

COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./nginx_gofer.conf /etc/nginx/nginx_gofer.conf