mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
20 lines
349 B
Makefile
20 lines
349 B
Makefile
all: gen
|
|
|
|
.PHONY : gen
|
|
|
|
gen: dev
|
|
|
|
build:
|
|
cd ../weed; GOOS=linux go build; mv weed ../docker/
|
|
docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.go_build .
|
|
rm ./weed
|
|
|
|
dev: build
|
|
docker-compose -f local-dev-compose.yml -p seaweedfs up
|
|
|
|
cluster: build
|
|
docker-compose -f local-cluster-compose.yml -p seaweedfs up
|
|
|
|
clean:
|
|
rm ./weed
|