ARG UBUNTU_VERSION FROM ubuntu:${UBUNTU_VERSION} RUN apt-get update RUN apt-get install -y nginx RUN rm -rf /var/lib/apt/lists/* COPY vpp-data/lib/* /usr/lib/ COPY resources/nginx/vcl.conf /vcl.conf COPY resources/nginx/nginx.conf /nginx.conf ENV VCL_CONFIG=/vcl.conf ENV LD_PRELOAD=/usr/lib/libvcl_ldpreload.so ENTRYPOINT ["nginx", "-c", "/nginx.conf"]