You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
351 B

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 /home/${USER}:/home/${USER} \
-v /etc/passwd:/etc/passwd \
-v /etc/group:/etc/group \
-v $(shell pwd)/../../:/cjvt-srl-tagging \
-w /cjvt-srl-tagging \
python-java \
/bin/bash