DOCKER_URL_VERSION:=$(shell /usr/bin/python ../../../ya tool svn info | grep "Revision" | awk '{print $$2}')
DOCKER_URL:=registry.yandex.net/crypta/rtdi:$(DOCKER_URL_VERSION)

all: docker

build:
	../../../ya make -r -I. --checkout --yt-store -j4

docker: build
	docker build -t $(DOCKER_URL) .

push: docker
	docker push $(DOCKER_URL)
