Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. all: gen
  2. .PHONY : gen
  3. gen: dev
  4. build:
  5. cd ../weed; GOOS=linux go build; mv weed ../docker/
  6. docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local .
  7. rm ./weed
  8. s3tests_build:
  9. docker build --no-cache -t chrislusf/ceph-s3-tests:local -f Dockerfile.s3tests .
  10. dev: build
  11. docker-compose -f compose/local-dev-compose.yml -p seaweedfs up
  12. dev_mount: build
  13. docker-compose -f compose/local-mount-compose.yml -p seaweedfs up
  14. k8s: build
  15. docker-compose -f compose/local-k8s-compose.yml -p seaweedfs up
  16. dev_registry: build
  17. docker-compose -f compose/local-registry-compose.yml -p seaweedfs up
  18. dev_replicate: build
  19. docker-compose -f compose/local-replicate-compose.yml -p seaweedfs up
  20. cluster: build
  21. docker-compose -f compose/local-cluster-compose.yml -p seaweedfs up
  22. 2clusters: build
  23. docker-compose -f compose/local-clusters-compose.yml -p seaweedfs up
  24. s3tests: build s3tests_build
  25. docker-compose -f compose/local-s3tests-compose.yml -p seaweedfs up
  26. filer_etcd: build
  27. docker stack deploy -c compose/swarm-etcd.yml fs
  28. clean:
  29. rm ./weed