cjvt-srl-tagging/dockerfiles/python-java/Makefile

19 lines
351 B
Makefile
Raw Permalink Normal View History

2019-02-13 07:49:37 +00:00
IMAGE_NAME="python-java"
all: build run
build:
docker build . -t $(IMAGE_NAME)
run:
docker run \
-it \
2019-02-24 15:13:46 +00:00
--user $(shell id -u):$(shell id -g) \
-v /home/${USER}:/home/${USER} \
-v /etc/passwd:/etc/passwd \
-v /etc/group:/etc/group \
2019-02-13 07:49:37 +00:00
-v $(shell pwd)/../../:/cjvt-srl-tagging \
2019-02-24 15:13:46 +00:00
-w /cjvt-srl-tagging \
2019-02-13 07:49:37 +00:00
python-java \
2019-02-21 17:42:11 +00:00
/bin/bash