forked from wkentaro/labelme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |