From 501ca060934033fbd2177a41696ed51b749ed39e Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Sat, 29 Oct 2022 02:49:22 -0400 Subject: [PATCH] testing --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b0e6a75 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM debian:11 + +RUN apt-get update && apt-get install -y \ + curl \ + build-essential \ + libpcre2-8-0 \ + && rm -rf /var/lib/apt/lists/* + +RUN curl https://nginx.org/download/nginx-1.18.0.tar.gz | tar -xzf - +RUN curl https://github.com/openresty/set-misc-nginx-module/archive/refs/tags/v0.33.tar.gz | tar -xzf - +RUN curl https://github.com/vision5/ngx_devel_kit/archive/refs/tags/v0.3.1.tar.gz | tar -xzf - +RUN curl https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.gz | tar -xzf - + +RUN mkdir /output && \ + ./configure --prefix=/output --with-http_ssl_module \ + --add-module="$(pwd)/set-misc-nginx-module-0.33" \ + --add-module="$(pwd)/ngx_devel_kit-0.3.1" \ + --with-pcre="$(pwd)/pcre2-10.40"