stow/build-docker.sh
2019-06-11 10:53:28 +02:00

12 lines
207 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
version=$( git describe --match v* --abbrev=0 )
imagename=stowtest
image=$imagename:$version
pushd docker
echo "Building Docker image $image ..."
docker build -t $image .
popd