Files
.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
WebGoat/scripts/build_docker.sh
Joubin Jabbari ecbbb5258e encapsulated the WEBGOAT_HOME in quotes
Encapsulating the `WEBGOAT_HOME` variable in quotes allows for spaces to exist in the path
2018-11-19 08:14:29 +01:00

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 .