#!/bin/bash directory=`dirname $(readlink -f "$0")` [ "$(docker images -q kyman:anp-server 2>/dev/null)" ] && docker image remove kyman:anp-server --force docker build -f $directory/Dockerfile.debian -t kyman:anp-server $directory --no-cache