-
Notifications
You must be signed in to change notification settings - Fork 8
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 #3 from robinmonjo/v2-registry-support
V2 registry support
- Loading branch information
Showing
21 changed files
with
706 additions
and
292 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ rootfs | |
.vagrant | ||
vendor | ||
release | ||
cargo | ||
krgo |
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 |
---|---|---|
@@ -1,24 +1,23 @@ | ||
GOPATH:=`pwd`/vendor:$(GOPATH) #inject vendored package | ||
GOPATH:=`pwd`/vendor/src/github.com/docker/docker/vendor:$(GOPATH) #inject docker vendored package | ||
|
||
VERSION:=1.4.1 | ||
VERSION:=1.5.0 | ||
HARDWARE=$(shell uname -m) | ||
|
||
build: vendor | ||
GOPATH=$(GOPATH) go build | ||
|
||
test: vendor | ||
GOPATH=$(GOPATH) go install | ||
GOPATH=$(GOPATH) go test | ||
test: vendor build | ||
GOPATH=$(GOPATH) PATH=$(PATH):`pwd` go test | ||
|
||
release: | ||
mkdir -p release | ||
GOPATH=$(GOPATH) GOOS=linux go build -o release/cargo | ||
cd release && tar -zcf cargo-v$(VERSION)_$(HARDWARE).tgz cargo | ||
rm release/cargo | ||
GOPATH=$(GOPATH) GOOS=linux go build -o release/krgo | ||
cd release && tar -zcf krgo-v$(VERSION)_$(HARDWARE).tgz krgo | ||
rm release/krgo | ||
|
||
clean: | ||
rm -rf ./cargo ./rootfs ./release | ||
rm -rf ./krgo ./release ./vendor/pkg/* | ||
|
||
vendor: | ||
sh vendor.sh |
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
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
Oops, something went wrong.