.github
.mvn
config
docker
docs
platformQuickStarts
scripts
build-all.sh
build_docker.sh
clean-run-docker-compose.sh
deploy-webgoat.sh
run-docker-compose.sh
start.sh
webgoat-container
webgoat-images
webgoat-integration-tests
webgoat-lessons
webgoat-server
webwolf
.gitignore
COPYRIGHT.txt
CREATE_RELEASE.MD
LICENSE.txt
README.MD
RELEASE_NOTES.md
buildspec.yml
docker-compose-local.yml
docker-compose-postgres.yml
docker-compose.yml
goat-with-reverseproxy.yaml
mvn-debug
mvnw
mvnw.cmd
pom.xml
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 .
|
|
|