From a33f07938e5f5b60546aeb9ecdcb8c7e3f58e934 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Sat, 13 May 2017 16:39:31 +0900 Subject: [PATCH] Add dockerfile --- docker/Dockerfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docker/Dockerfile diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 000000000..3b6923df8 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,32 @@ +FROM ubuntu:trusty + +RUN \ + useradd wkentaro && \ + echo wkentaro:wkentaro | chpasswd && \ + mkdir -p /home/wkentaro && \ + chown -R wkentaro:wkentaro /home/wkentaro && \ + adduser wkentaro sudo + +RUN \ + apt-get update -qq && \ + apt-get upgrade -qq -y && \ + apt-get install -qq -y \ + aptitude \ + git \ + python \ + python-setuptools + +RUN \ + easy_install -q pip && \ + pip install -q -U pip setuptools + +RUN apt-get install -qq -y python-qt4 pyqt4-dev-tools +RUN apt-get install -qq -y python-matplotlib +RUN apt-get install -qq -y python-scipy +RUN apt-get install -qq -y python-skimage + +RUN pip install -v git+https://github.com/wkentaro/labelme.git + +USER wkentaro +ENV HOME /home/wkentaro +CMD /usr/local/bin/labelme