27 |
27 |
28 RUN tar -xzf luaunbound-1.0.0.tar.gz \ |
28 RUN tar -xzf luaunbound-1.0.0.tar.gz \ |
29 && make -C luaunbound-1.0.0 |
29 && make -C luaunbound-1.0.0 |
30 |
30 |
31 ############################ |
31 ############################ |
32 FROM debian:bullseye-slim |
32 FROM debian:bookworm-slim |
33 |
33 |
34 RUN apt-get update \ |
34 RUN apt-get update \ |
35 && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ |
35 && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ |
36 tini \ |
36 tini \ |
37 lua5.2 \ |
37 lua5.2 \ |
38 lua-cjson \ |
38 lua-cjson \ |
39 lua-expat \ |
39 lua-expat \ |
40 lua-filesystem \ |
40 lua-filesystem \ |
|
41 lua-geoip \ |
41 lua-sec \ |
42 lua-sec \ |
42 lua-socket \ |
43 lua-socket \ |
43 libidn11 \ |
44 libidn12 \ |
44 libicu67 \ |
45 libicu72 \ |
45 lua-dbi-postgresql \ |
46 lua-dbi-postgresql \ |
46 libunbound8 \ |
47 libunbound8 \ |
|
48 ca-certificates \ |
|
49 geoip-database \ |
47 && rm -rf /var/lib/apt/lists/* |
50 && rm -rf /var/lib/apt/lists/* |
48 |
51 |
49 COPY --from=build /tmp/build/util /usr/local/lib/lua-web-app/util |
52 COPY --from=build /tmp/build/util /usr/local/lib/lua-web-app/util |
50 COPY --from=build /tmp/build/net /usr/local/lib/lua-web-app/net |
53 COPY --from=build /tmp/build/net /usr/local/lib/lua-web-app/net |
51 COPY --from=build /tmp/build/luaunbound-1.0.0/lunbound.so /usr/local/lib/lua/5.2/lunbound.so |
54 COPY --from=build /tmp/build/luaunbound-1.0.0/lunbound.so /usr/local/lib/lua/5.2/lunbound.so |