This is a fork of the actual WebGoat Legacy (6.0) project from GitHub. This repository contains the source of DockerFile that can be used to build custom Docker images for WebGoat 6.x.
Pre-requisites: Download the WebGoat legacy jar from https://webgoat.atlassian.net/builds/browse/WEB-WGM/latestSuccessful/artifact/shared/WebGoat-Embedded-Tomcat/WebGoat-6.0.1-war-exec.jar
Readily available docker image based on this Dockerfile is at https://hub.docker.com/r/chviswanath/webgoat-legacy/