Reorganise a little to move the server into it's own directory
This commit is contained in:
parent
aa2ecace89
commit
5a2d35aca8
5 changed files with 17 additions and 3 deletions
11
script/build.sh
Executable file
11
script/build.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
cd ..
|
||||
set -x
|
||||
|
||||
# Generate a version string
|
||||
export VERSION=$(git describe --always --long --dirty --tags)
|
||||
|
||||
# Build and tag as latest and version
|
||||
docker build -t "rove-server:latest" -t "rove-server:${VERSION}" -f "cmd/rove-server/Dockerfile" .
|
Loading…
Add table
Add a link
Reference in a new issue