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

21 lines
403 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)
2019-02-28 08:40:25 +00:00
2019-02-13 07:49:37 +00:00
run:
docker run \
2019-02-28 20:49:49 +00:00
-it \
2019-02-24 15:13:46 +00:00
-v /home/${USER}:/home/${USER} \
2019-02-28 08:40:25 +00:00
--user $(shell id -u):$(shell id -g) \
2019-02-24 15:13:46 +00:00
-v /etc/passwd:/etc/passwd \
-v /etc/group:/etc/group \
2019-02-28 20:49:49 +00:00
-v $(shell pwd)/../../:/cjvt-srl-tagging \
2019-02-24 15:13:46 +00:00
-w /cjvt-srl-tagging \
2022-02-04 10:24:47 +00:00
-v /home/luka/Development/srl/data:/kres_mount:ro \
2019-02-28 08:40:25 +00:00
python-java \
/bin/bash