3 COPY script/build_boringssl.sh /build_boringssl.sh
4 RUN git clone https://boringssl.googlesource.com/boringssl
5 RUN ./build_boringssl.sh
7 COPY script/build_nginx.sh /build_nginx.sh
8 RUN git clone https://github.com/nginx/nginx
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
16 COPY resources/nginx/html/index.html /usr/share/nginx/index.html
18 ENV VCL_CONFIG=/vcl.conf
19 ENV LDP=/usr/lib/libvcl_ldpreload.so
24 ENTRYPOINT ["nginx_ldp.sh", "/usr/local/nginx/sbin/nginx", "-c", "/nginx.conf"]