DOCKERIMAGE := dockermirror:5000/dpedu/rsscrape DOCKEROPTS := BINARY := dist/osrsscrape-0.0.0-py3-none-any.whl .PHONY: $(BINARY) $(BINARY): python3 setup.py bdist_wheel .PHONY: image image: docker build -t $(DOCKERIMAGE) $(DOCKEROPTS) . .PHONY: push push: image docker push $(DOCKERIMAGE) .PHONY: testenv testenv: virtualenv -p python3 testenv testenv/bin/pip3 install -r requirements.txt