seaweedfs/docker/Makefile

32 lines
655 B
Makefile
Raw Normal View History

2020-02-26 13:56:15 +08:00
all: gen
.PHONY : gen
2020-02-27 08:46:29 +08:00
gen: dev
build:
2020-02-26 13:56:15 +08:00
cd ../weed; GOOS=linux go build; mv weed ../docker/
2020-03-02 10:23:07 +08:00
docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local .
2020-02-27 08:46:29 +08:00
rm ./weed
dev: build
2020-02-26 13:56:15 +08:00
docker-compose -f local-dev-compose.yml -p seaweedfs up
2020-02-27 08:46:29 +08:00
2021-01-23 14:47:23 +08:00
dev_mount: build
docker-compose -f local-mount-compose.yml -p seaweedfs up
2020-12-21 23:58:41 +08:00
k8s: build
docker-compose -f local-k8s-compose.yml -p seaweedfs up
2020-11-11 18:02:30 +08:00
dev_registry: build
docker-compose -f local-registry-compose.yml -p seaweedfs up
2020-02-27 08:46:29 +08:00
cluster: build
docker-compose -f local-cluster-compose.yml -p seaweedfs up
2021-01-24 16:00:42 +08:00
2clusters: build
docker-compose -f local-clusters-compose.yml -p seaweedfs up
2020-02-27 08:46:29 +08:00
clean:
2020-02-26 13:56:15 +08:00
rm ./weed