This commit is contained in:
Kris Lamoureux 2022-10-29 02:30:17 -04:00
commit 3c05513bc7
2 changed files with 30 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -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"

12
LICENSE Normal file
View File

@ -0,0 +1,12 @@
Copyright (C) 2022 by Kris Lamoureux <kris@lamoureux.io>
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.