Skip to content

Commit

Permalink
Added docker image build script
Browse files Browse the repository at this point in the history
  • Loading branch information
alficles committed Jun 4, 2020
1 parent 6c99cb1 commit 9ea2ab6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-docker-images
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -x

pushd "${0%/*}"
VERSION=$(git describe --tags)
docker build -t licenseweasel/weasel:$VERSION -t licenseweasel/weasel:latest --target bin .
docker build -t licenseweasel/weasel-src:$VERSION -t licenseweasel/weasel-src:latest --target src .
popd

0 comments on commit 9ea2ab6

Please sign in to comment.