forked from kristjan/cjvt-valency
working on parser
This commit is contained in:
17
dockerfiles/dev-env/Dockerfile
Normal file
17
dockerfiles/dev-env/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
RUN apt-get update --fix-missing
|
||||
RUN apt-get install -y \
|
||||
vim \
|
||||
python3 \
|
||||
python3-pip \
|
||||
sshfs
|
||||
|
||||
RUN pip3 install \
|
||||
lxml \
|
||||
pandas \
|
||||
sklearn \
|
||||
argparse \
|
||||
pathlib
|
||||
|
||||
ENV PYTHONIOENCODING UTF-8
|
||||
18
dockerfiles/dev-env/Makefile
Normal file
18
dockerfiles/dev-env/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
IMAGE_NAME="cjvt-dev-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
|
||||
Reference in New Issue
Block a user