cjvt-corpusparser/dockerfiles/cjvt-corpusparser-env/Makefile

20 lines
334 B
Makefile
Raw Permalink Normal View History

2019-03-17 12:22:01 +00:00
IMAGE_NAME="cjvt-corpusparser-env"
all: build run
build:
docker build . -t $(IMAGE_NAME)
run:
docker run \
-it \
-v /home/${USER}:/home/${USER} \
--user $(shell id -u):$(shell id -g) \
-v /etc/passwd:/etc/passwd \
-v /etc/group:/etc/group \
-v $(MAKE_ROOT):/project \
-w /project \
$(IMAGE_NAME) \
/bin/bash