blob: 56c6220b5ece8186d59642ab147ddf59341f6845 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
ARG UBUNTU_VERSION
FROM ubuntu:${UBUNTU_VERSION}
RUN apt-get update \
&& apt-get install -y nginx \
&& 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"]
|