github.com/pachyderm/pachyderm@v1.13.4/examples/word_count/Makefile (about) 1 # Set as you wish 2 DOCKER_ACCOUNT := pachyderm 3 CONTAINER_NAME := example-wordcount 4 CONTAINER_VERSION := 1.12.2 5 CONTAINER_TAG := $(DOCKER_ACCOUNT)/$(CONTAINER_NAME):$(CONTAINER_VERSION) 6 7 docker-image: 8 @docker build -t $(CONTAINER_TAG) . 9 @docker push $(CONTAINER_TAG) 10 11 12 wordcount: 13 pachctl create repo urls 14 cd data && pachctl put file urls@master -f Wikipedia 15 pachctl create pipeline -f pipelines/scraper.json 16 pachctl create pipeline -f pipelines/map.json 17 pachctl create pipeline -f pipelines/reduce.json 18 19 clean: 20 pachctl delete pipeline reduce 21 pachctl delete pipeline map 22 pachctl delete pipeline scraper 23 pachctl delete repo urls 24 pachctl delete repo scraper 25 pachctl delete repo map 26 pachctl delete repo reduce 27 28 29 .PHONY: 30 wordcount