Files
ngx_http_monitoring_module/dockerized/build.sh
2026-05-07 22:57:00 +03:30

16 lines
285 B
Bash

#!/usr/bin/env sh
set -eu
IMAGE="${IMAGE:-ngx-http-monitoring-module:local}"
NGINX_VERSION="${NGINX_VERSION:-1.28.0}"
cd "$(dirname "$0")/.."
docker build \
--build-arg "NGINX_VERSION=$NGINX_VERSION" \
-f dockerized/Dockerfile \
-t "$IMAGE" \
.
echo "Built $IMAGE"