Skip to content

Commit e8bafac

Browse files
TusharKanekiDeyTushar Dey
andauthored
Adding of deep_learning_container.py in Tf1.15 (#327)
Co-authored-by: Tushar Dey <tshdy@amazon.com>
1 parent 76138b1 commit e8bafac

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

docker/1.15.2/py2/Dockerfile.cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ RUN pip install --no-cache-dir -U \
113113
&& pip install --no-cache-dir -U \
114114
horovod==0.18.2
115115

116+
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
117+
118+
RUN chmod +x /usr/local/bin/deep_learning_container.py
119+
116120
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
117121

118122
CMD ["bin/bash"]

docker/1.15.2/py2/Dockerfile.gpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ RUN cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_confi
155155
&& echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new \
156156
&& mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
157157

158+
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
159+
160+
RUN chmod +x /usr/local/bin/deep_learning_container.py
161+
158162
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
159163

160164
CMD ["bin/bash"]

docker/1.15.2/py3/Dockerfile.cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ RUN pip install --no-cache-dir -U \
116116
awscli\
117117
&& rm -f $FRAMEWORK_SUPPORT_INSTALLABLE
118118

119+
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
120+
121+
RUN chmod +x /usr/local/bin/deep_learning_container.py
122+
119123
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
120124

121125
CMD ["bin/bash"]

docker/1.15.2/py3/Dockerfile.gpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ RUN cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_confi
162162
&& echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new \
163163
&& mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config
164164

165+
COPY deep_learning_container.py /usr/local/bin/deep_learning_container.py
166+
167+
RUN chmod +x /usr/local/bin/deep_learning_container.py
168+
165169
RUN curl https://aws-dlc-licenses.s3.amazonaws.com/tensorflow/license.txt -o /license.txt
166170

167171
CMD ["bin/bash"]

0 commit comments

Comments
 (0)