stow/build-docker.sh

13 lines
207 B
Bash
Raw Normal View History

2019-06-11 04:53:28 -04:00
#!/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