2019-02-13 07:49:37 +00:00
|
|
|
IMAGE_NAME="python-java"
|
|
|
|
|
|
|
|
all: build run
|
|
|
|
|
|
|
|
build:
|
|
|
|
docker build . -t $(IMAGE_NAME)
|
|
|
|
|
|
|
|
run:
|
|
|
|
docker run \
|
2019-02-20 06:38:26 +00:00
|
|
|
-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
|