Makefile 346 B

12345678910111213141516171819
  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. dev: build
  9. docker-compose -f local-dev-compose.yml -p seaweedfs up
  10. cluster: build
  11. docker-compose -f local-cluster-compose.yml -p seaweedfs up
  12. clean:
  13. rm ./weed