commit c52ad6e4c314affcb700414fad3d695a69fecdd1 Author: Kris Lamoureux Date: Sat Oct 29 03:53:29 2022 -0400 testing diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..741427d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,31 @@ +FROM debian:11 + +RUN apt-get update && apt-get install -y \ + curl \ + git \ + build-essential \ + libssl-dev \ + zlib1g-dev \ + libpcre2-8-0 \ + && rm -rf /var/lib/apt/lists/* + +RUN mkdir /src /output +WORKDIR /src +RUN curl -s https://nginx.org/download/nginx-1.18.0.tar.gz | tar -xzC . +RUN git clone --no-checkout https://github.com/openresty/set-misc-nginx-module && \ + cd set-misc-nginx-module && \ + git checkout v0.33 && cd - && \ +RUN git clone https://github.com/vision5/ngx_devel_kit/ && \ + cd ngx_devel_kit && \ + git checkout v0.3.1 && cd - +RUN git clone https://github.com/PCRE2Project/pcre2/ && \ + cd pcre2 && \ + git checkout pcre2-10.40 && cd - + +WORKDIR /src/nginx-1.18.0 +RUN ./configure --prefix=/output --with-http_ssl_module \ + --add-module=/src/ngx_devel_kit \ + --add-module=/src/set-misc-nginx-module \ + --with-pcre=/src/pcre2 && \ + make -j2 . && \ + make install diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..16bad05 --- /dev/null +++ b/LICENSE @@ -0,0 +1,12 @@ +Copyright (C) 2022 by Kris Lamoureux + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE.