nginx-profile-setup/kaproxy/Dockerfile
Ava Hahn 5ada8f8d8a more arduous config and more debug symbols
Signed-off-by: Ava Hahn <a.hahn@f5.com>
2025-08-26 23:25:38 +00:00

33 lines
825 B
Docker

FROM debian:bookworm-slim
EXPOSE 8080
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 /
COPY nginx /nginx
WORKDIR /nginx
RUN auto/configure \
--with-debug \
--with-http_ssl_module \
--with-cc-opt="-gdwarf-4 -fno-omit-frame-pointer"
RUN make
RUN make install
COPY run.sh /
CMD ["/run.sh"]