Skip to content

Commit dacb19a

Browse files
committed
First commit
0 parents  commit dacb19a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM tensorflow/tensorflow:0.11.0-gpu
2+
MAINTAINER Brannon Dorsey <[email protected]>
3+
4+
WORKDIR /
5+
RUN apt-get update
6+
RUN apt-get install -y git
7+
8+
# Clone StackGAN
9+
RUN git clone https://github.com/hanzhanggit/StackGAN.git
10+
ENV PYTHONPATH /StackGAN
11+
12+
# Install StackGAN dependencies
13+
RUN pip install prettytensor progressbar python-dateutil easydict pandas torchfile
14+
15+
# Install optional StackGAN dependencies -----------------------------------------
16+
17+
# Install Torch
18+
RUN git clone https://github.com/torch/distro.git ~/torch --recursive
19+
WORKDIR /root/torch
20+
RUN /bin/bash install-deps
21+
RUN ./install.sh
22+
# above may need yes
23+
24+
WORKDIR /StackGAN
25+
26+
27+
CMD echo "container started"

0 commit comments

Comments
 (0)