We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9028619 commit 2e230f8Copy full SHA for 2e230f8
1 file changed
test/includes/common.sh
@@ -29,6 +29,7 @@ run_test() {
29
docker logs $httpd_cont > "logs/${2:-$1}-httpd.log" 2>&1
30
docker cp ${httpd_cont}:/usr/local/apache2/logs/access_log "logs/${2:-$1}-httpd_access.log" 2> /dev/null || true
31
fi
32
+
33
# Clean all after run
34
httpd_remove > /dev/null 2>&1
35
tomcat_all_remove > /dev/null 2>&1
@@ -54,7 +55,11 @@ httpd_create() {
54
55
done
56
cp -r ../native ../test /tmp/mod_proxy_cluster/
57
mv /tmp/mod_proxy_cluster httpd/
- docker build -t $HTTPD_IMG -f httpd/Containerfile httpd/
58
59
+ docker build -t $HTTPD_IMG --build-arg CFLAGS="$MPC_CFLAGS" \
60
+ --build-arg LDFLAGS="$MPC_LDFLAGS" \
61
+ --build-arg HTTPD_EXTRA_FLAGS="$HTTPD_EXTRA_FLAGS" \
62
+ -f httpd/Containerfile httpd/
63
}
64
65
# Build and run httpd container
0 commit comments