File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ httpd_create() {
5454 done
5555 cp -r ../native ../test /tmp/mod_proxy_cluster/
5656 mv /tmp/mod_proxy_cluster httpd/
57- docker build -t $HTTPD_IMG httpd/
57+ docker build -t $HTTPD_IMG -f httpd/Containerfile httpd/
5858}
5959
6060# Build and run httpd container
@@ -113,10 +113,12 @@ clean_and_exit() {
113113# $3 tomcat context file (default is context.xml)
114114tomcat_create () {
115115 if [ -z " $1 " ]; then
116- docker build -t $IMG tomcat/ --build-arg TESTSUITE_TOMCAT_CONFIG=${2:- server.xml} \
116+ docker build -t $IMG -f tomcat/Containerfile tomcat/ \
117+ --build-arg TESTSUITE_TOMCAT_CONFIG=${2:- server.xml} \
117118 --build-arg TESTSUITE_TOMCAT_CONTEXT=${3:- context.xml}
118119 else
119- docker build -t $IMG tomcat/ --build-arg TESTSUITE_TOMCAT_VERSION=$1 \
120+ docker build -t $IMG -f tomcat/Containerfile tomcat/ \
121+ --build-arg TESTSUITE_TOMCAT_VERSION=$1 \
120122 --build-arg TESTSUITE_TOMCAT_CONFIG=${2:- server.xml} \
121123 --build-arg TESTSUITE_TOMCAT_CONTEXT=${3:- context.xml}
122124 fi
You can’t perform that action at this time.
0 commit comments