hs-test: add nginx+quic test
[vpp.git] / extras / hs-test / docker / Dockerfile.nginx-http3
1 FROM hs-test/build
2
3 COPY script/build_boringssl.sh /build_boringssl.sh
4 RUN git clone https://boringssl.googlesource.com/boringssl
5 RUN ./build_boringssl.sh
6
7 COPY script/build_nginx.sh /build_nginx.sh
8 RUN git clone https://github.com/nginx/nginx
9 RUN ./build_nginx.sh
10
11 COPY vpp-data/lib/* /usr/lib/
12 COPY resources/nginx/vcl.conf /vcl.conf
13 COPY resources/nginx/nginx_http3.conf /nginx.conf
14 COPY script/nginx_ldp.sh /usr/bin/nginx_ldp.sh
15
16 COPY resources/nginx/html/index.html /usr/share/nginx/index.html
17
18 ENV VCL_CONFIG=/vcl.conf
19 ENV LDP=/usr/lib/libvcl_ldpreload.so
20 ENV LDP_DEBUG=0
21 ENV VCL_DEBUG=0
22 ENV LDP_SID_BIT=8
23
24 ENTRYPOINT ["nginx_ldp.sh", "/usr/local/nginx/sbin/nginx", "-c", "/nginx.conf"]