Spotter-VM/tomcat.sh

10 lines
217 B
Bash
Raw Normal View History

2018-01-26 21:58:29 +01:00
#!/bin/sh
SOURCE_DIR=$(realpath $(dirname "${0}"))/tomcat
# Check prerequisites
docker image ls | grep -q java || $(realpath $(dirname "${0}"))/java.sh
2018-01-26 21:58:29 +01:00
# Build Docker container
docker build -t tomcat ${SOURCE_DIR}