2015-12-08 19:37:55 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
mkdir -p bin/
|
|
|
|
cd containerd && go build -tags libcontainer -o ../bin/containerd
|
|
|
|
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/
|
|
|
|
cd containerd && go build -tags libcontainer -o ../bin/containerd
|
|
|
|
|
|
|
|
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
|