more arduous config and more debug symbols
Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
parent
5aeb2c7792
commit
5ada8f8d8a
4 changed files with 49 additions and 160 deletions
|
|
@ -1,8 +1,24 @@
|
|||
FROM archlinux:latest
|
||||
FROM debian:bookworm-slim
|
||||
EXPOSE 8080
|
||||
|
||||
RUN pacman -Syyu --noconfirm
|
||||
RUN pacman -S base-devel glibc gcc-libs valgrind --noconfirm
|
||||
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 \
|
||||
|
|
@ -11,92 +27,7 @@ RUN auto/configure \
|
|||
--with-cc-opt="-gdwarf-4 -fno-omit-frame-pointer"
|
||||
RUN make
|
||||
RUN make install
|
||||
COPY nginx.conf /
|
||||
WORKDIR /
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key0.pem \
|
||||
-out cert0.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key1.pem \
|
||||
-out cert1.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key2.pem \
|
||||
-out cert2.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key3.pem \
|
||||
-out cert3.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key4.pem \
|
||||
-out cert4.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key5.pem \
|
||||
-out cert5.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key6.pem \
|
||||
-out cert6.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key7.pem \
|
||||
-out cert7.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key8.pem \
|
||||
-out cert8.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
RUN openssl req -x509 \
|
||||
-newkey rsa:4096 \
|
||||
-keyout key9.pem \
|
||||
-out cert9.pem \
|
||||
-sha256 -nodes \
|
||||
-days 3650 \
|
||||
-subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=www.example.com"
|
||||
|
||||
COPY dhparam.pem /
|
||||
COPY www.example.com.crt /
|
||||
COPY www.example.com.key /
|
||||
COPY run.sh /
|
||||
|
||||
CMD ["/run.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue