Maros Ondrejicka | 8851ccf | 2023-01-13 10:09:14 +0100 | [diff] [blame] | 1 | ARG UBUNTU_VERSION |
| 2 | |
| 3 | FROM ubuntu:${UBUNTU_VERSION} |
| 4 | |
Dave Wallace | 67dbc4a | 2023-02-22 13:56:06 -0500 | [diff] [blame] | 5 | RUN apt-get update \ |
Florin Coras | 87767d8 | 2023-03-06 09:46:11 -0800 | [diff] [blame] | 6 | && apt-get install -y nginx gdb less \ |
Dave Wallace | 67dbc4a | 2023-02-22 13:56:06 -0500 | [diff] [blame] | 7 | && rm -rf /var/lib/apt/lists/* |
Filip Tehlar | c204c87 | 2022-12-21 08:59:16 +0100 | [diff] [blame] | 8 | |
| 9 | COPY vpp-data/lib/* /usr/lib/ |
| 10 | COPY resources/nginx/vcl.conf /vcl.conf |
| 11 | COPY resources/nginx/nginx.conf /nginx.conf |
Florin Coras | 87767d8 | 2023-03-06 09:46:11 -0800 | [diff] [blame] | 12 | COPY script/nginx_ldp.sh /usr/bin/nginx_ldp.sh |
Filip Tehlar | c204c87 | 2022-12-21 08:59:16 +0100 | [diff] [blame] | 13 | |
Maros Ondrejicka | 8851ccf | 2023-01-13 10:09:14 +0100 | [diff] [blame] | 14 | ENV VCL_CONFIG=/vcl.conf |
Florin Coras | 87767d8 | 2023-03-06 09:46:11 -0800 | [diff] [blame] | 15 | ENV LDP=/usr/lib/libvcl_ldpreload.so |
| 16 | ENV LDP_DEBUG=0 |
| 17 | ENV VCL_DEBUG=0 |
| 18 | ENV LDP_SID_BIT=8 |
Maros Ondrejicka | 8851ccf | 2023-01-13 10:09:14 +0100 | [diff] [blame] | 19 | |
Florin Coras | 87767d8 | 2023-03-06 09:46:11 -0800 | [diff] [blame] | 20 | ENTRYPOINT ["nginx_ldp.sh", "-c", "/nginx.conf"] |