initial module
This commit is contained in:
15
dockerized/build.sh
Normal file
15
dockerized/build.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user