#!/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}