2025-08-26 23:25:38 +00:00
|
|
|
FROM debian:bookworm-slim
|
2025-08-16 00:47:14 +00:00
|
|
|
EXPOSE 8080
|
|
|
|
|
|
2025-08-26 23:25:38 +00:00
|
|
|
RUN echo "deb http://deb.debian.org/debian-debug/ bookworm-debug main" >> /etc/apt/sources.list.d/debug.list
|
|
|
|
|
RUN echo "deb http://deb.debian.org/debian-debug/ bookworm-proposed-updates-debug main" >> /etc/apt/sources.list.d/debug.list
|
|
|
|
|
|
|
|
|
|
RUN apt update -y
|
|
|
|
|
RUN apt install libssl3 libssl3-dbgsym openssl openssl-dbgsym libssl-dev zlib1g-dev \
|
|
|
|
|
libc6-dbg gcc make mk-configure valgrind libpcre2-dev libgcrypt20-dbgsym \
|
|
|
|
|
--allow-downgrades -y
|
|
|
|
|
|
|
|
|
|
COPY nginx.conf /
|
|
|
|
|
WORKDIR /
|
|
|
|
|
|
|
|
|
|
COPY gencerts.sh /
|
|
|
|
|
RUN ./gencerts.sh
|
|
|
|
|
|
|
|
|
|
COPY dhparam.pem /
|
|
|
|
|
COPY www.example.com.crt /
|
|
|
|
|
COPY www.example.com.key /
|
|
|
|
|
|
2025-08-16 00:47:14 +00:00
|
|
|
COPY nginx /nginx
|
|
|
|
|
WORKDIR /nginx
|
|
|
|
|
RUN auto/configure \
|
|
|
|
|
--with-debug \
|
|
|
|
|
--with-http_ssl_module \
|
2025-08-25 23:04:54 +00:00
|
|
|
--with-cc-opt="-gdwarf-4 -fno-omit-frame-pointer"
|
2025-08-16 00:47:14 +00:00
|
|
|
RUN make
|
|
|
|
|
RUN make install
|
2025-08-18 03:59:32 +00:00
|
|
|
|
2025-08-16 00:47:14 +00:00
|
|
|
COPY run.sh /
|
|
|
|
|
|
|
|
|
|
CMD ["/run.sh"]
|