Skip to content

Instantly share code, notes, and snippets.

View jaclu010's full-sized avatar

Jacob Lundberg jaclu010

View GitHub Profile
@hermanbanken
hermanbanken / Dockerfile
Last active November 1, 2024 13:02
Compiling NGINX module as dynamic module for use in docker
FROM nginx:alpine AS builder
# nginx:alpine contains NGINX_VERSION environment variable, like so:
# ENV NGINX_VERSION 1.15.0
# Our NCHAN version
ENV NCHAN_VERSION 1.1.15
# Download sources
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \