hs-test: fix install/build on new ubuntu instance
[vpp.git] / extras / hs-test / docker / Dockerfile.nginx
1 ARG UBUNTU_VERSION
2
3 FROM ubuntu:${UBUNTU_VERSION}
4
5 RUN apt-get update \
6  && apt-get install -y nginx \
7  && rm -rf /var/lib/apt/lists/*
8
9 COPY vpp-data/lib/* /usr/lib/
10 COPY resources/nginx/vcl.conf /vcl.conf
11 COPY resources/nginx/nginx.conf /nginx.conf
12
13 ENV VCL_CONFIG=/vcl.conf
14 ENV LD_PRELOAD=/usr/lib/libvcl_ldpreload.so
15
16 ENTRYPOINT ["nginx", "-c", "/nginx.conf"]