Spotter-VM/tomcat.sh

10 lines
217 B
Bash
Executable File

#!/bin/sh
SOURCE_DIR=$(realpath $(dirname "${0}"))/tomcat
# Check prerequisites
docker image ls | grep -q java || $(realpath $(dirname "${0}"))/java.sh
# Build Docker container
docker build -t tomcat ${SOURCE_DIR}