-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from stakater/update-dockerfile
[STK-114] Add bootstrap.sh and update dockerfile
- Loading branch information
Showing
2 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env sh | ||
|
||
cd ${SRC_DIR} | ||
|
||
echo "Fetching dependencies" | ||
glide update | ||
|
||
echo "Copying dependencies to GOPATH" | ||
cp -r ./vendor/* /go/src/ | ||
|
||
echo "Running Tests" | ||
go test && \ | ||
|
||
echo "Building the controller" | ||
go build -o ./out/main | ||
|
||
echo "Running the controller" | ||
./main |