Encapsulating the `WEBGOAT_HOME` variable in quotes allows for spaces to exist in the path
11 lines
205 B
Bash
11 lines
205 B
Bash
#!/bin/bash
|
|
|
|
WEBGOAT_HOME=$(pwd)/../
|
|
|
|
cd "${WEBGOAT_HOME}"/webgoat-server
|
|
docker build -t webgoat/webgoat-v8.0.0.snapshot .
|
|
|
|
cd "${WEBGOAT_HOME}"/webwolf
|
|
docker build -t webgoat/webwolf-v8.0.0.snapshot .
|
|
|