Skip to content

Commit 3c427fb

Browse files
author
gary.archer
committed
Updates from review comments on build changes
1 parent bfdf8b6 commit 3c427fb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ if [[ ! -r $NGINX_TARBALL ]]; then
5858
fi
5959

6060
docker build --no-cache -t nginx-module-builder \
61-
--build-arg NGINX_SRC_DIR=/tmp/nginx-"$NGINX_VERSION" \
6261
--build-arg NGINX_VERSION="$NGINX_VERSION" \
63-
--build-arg NGINX_DEBUG=n \
64-
--build-arg DYNAMIC_MODULE=Y \
6562
-f builders/$LINUX_DISTRO.Dockerfile .
6663
if [ $? -ne 0 ]; then
6764
echo "Docker build problem encountered for OS $LINUX_DISTRO and NGINX $NGINX_VERSION"
@@ -70,8 +67,7 @@ fi
7067

7168
mkdir -p build
7269
LIBRARY_PREFIX=$(getLibraryPrefix)
73-
docker run --name nginx-modules -d nginx-module-builder
70+
docker run --name nginx-modules nginx-module-builder
7471
docker cp nginx-modules:/tmp/nginx-$NGINX_VERSION/objs/ngx_curity_http_phantom_token_module.so ./build/$LIBRARY_PREFIX.ngx_curity_http_phantom_token_module_$NGINX_VERSION.so
75-
docker stop -t 0 nginx-modules
7672
docker rm nginx-modules
7773
docker rmi nginx-module-builder

0 commit comments

Comments
 (0)