Skip to content

Commit 9ea2ab6

Browse files
committed
Added docker image build script
1 parent 6c99cb1 commit 9ea2ab6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build-docker-images

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -x
3+
4+
pushd "${0%/*}"
5+
VERSION=$(git describe --tags)
6+
docker build -t licenseweasel/weasel:$VERSION -t licenseweasel/weasel:latest --target bin .
7+
docker build -t licenseweasel/weasel-src:$VERSION -t licenseweasel/weasel-src:latest --target src .
8+
popd

0 commit comments

Comments
 (0)