Skip to content

Commit

Permalink
Add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed May 18, 2017
1 parent ccdde5c commit a33f079
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a33f079

Please sign in to comment.