-
Notifications
You must be signed in to change notification settings - Fork 210
/
Dockerfile
36 lines (30 loc) · 868 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM kaixhin/cuda-torch
# Install depenencies and python packages
RUN apt-get update && apt-get install -y --no-install-recommends \
python-numpy \
python-matplotlib \
libmatio2 \
libgoogle-glog-dev \
libboost-all-dev \
python-dev \
python-tk
RUN pip install dlib
# Install lua packages
RUN luarocks install xlua &&\
luarocks install matio
# Build thpp
WORKDIR /opt
RUN git clone https://github.com/facebook/thpp
WORKDIR /opt/thpp
RUN git fetch origin pull/33/head:NEWBRANCH && git checkout NEWBRANCH
WORKDIR /opt/thpp/thpp
RUN THPP_NOFB=1 ./build.sh
# Build fb.python
WORKDIR /opt
RUN git clone https://github.com/facebook/fblualib
WORKDIR /opt/fblualib/fblualib/python
RUN luarocks make rockspec/*
# Clone our repo
WORKDIR /workspace
RUN chmod -R a+w /workspace
RUN git clone https://github.com/1adrianb/2D-and-3D-face-alignment