Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.31 KB

build.md

File metadata and controls

38 lines (29 loc) · 1.31 KB

Building from source

This project has separate source codes for lobster components. You can build with a Makefile file in each directory.

Before building

Lobster

  • Reference lobster/build/*/Dockerfile from lobster/Makefile
make image-store
make image-query
make image-global-query
make image-syncer
make image-operator
make image-loggen
  • If you want to build it yourself, please see below.
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o lobster ./lobster/cmd/lobster-store/main.go 
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o lobster ./lobster/cmd/lobster-query/main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o lobster ./lobster/cmd/lobster-global-query/main.go 
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o lobster ./lobster/cmd/lobster-syncer/main.go 
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o lobster ./lobster/cmd/lobster-operator/main.go 
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o lobster ./lobster/cmd/loggen/main.go