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