2015-12-08 19:37:55 +00:00
|
|
|
|
2015-12-11 21:59:19 +00:00
|
|
|
BUILDTAGS=libcontainer
|
|
|
|
|
2015-12-08 19:37:55 +00:00
|
|
|
all:
|
|
|
|
mkdir -p bin/
|
2015-12-11 21:59:19 +00:00
|
|
|
cd containerd && go build -tags "$(BUILDTAGS)" -o ../bin/containerd
|
2015-12-08 19:37:55 +00:00
|
|
|
cd ctr && go build -o ../bin/ctr
|
|
|
|
|
2015-12-08 21:31:20 +00:00
|
|
|
client:
|
|
|
|
mkdir -p bin/
|
|
|
|
cd ctr && go build -o ../bin/ctr
|
|
|
|
|
|
|
|
daemon:
|
|
|
|
mkdir -p bin/
|
2015-12-11 21:59:19 +00:00
|
|
|
cd containerd && go build -tags "$(BUILDTAGS)" -o ../bin/containerd
|
2015-12-08 21:31:20 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
cp bin/* /usr/local/bin/
|
2015-12-11 20:08:02 +00:00
|
|
|
|
|
|
|
protoc:
|
|
|
|
protoc -I ./api/grpc/types ./api/grpc/types/api.proto --go_out=plugins=grpc:api/grpc/types
|