vail/build/build.sh

16 lines
244 B
Bash
Executable File

#! /bin/sh
set -e
cd $(dirname $0)/..
target=vail
VERSION=$(cat CHANGELOG.md | awk -F '[][]' '/^## \[/ {print $2; exit}')
tag=nealey/$target:$VERSION
echo "==== Building $tag"
docker build \
--tag $tag \
-f build/Dockerfile \
.