IMAGE_NAME="python-java"

all: build run

build:
	docker build . -t $(IMAGE_NAME)

run:
	docker run \
		-it \
		--user $(shell id -u):$(shell id -g) \
		-v /etc/passwd:/etc/passwd \
		-v $$(pwd)/../../:/cjvt-srl-tagging \
		-w /cjvt-srl-tagging/tools \
		python-java \
		/bin/bash